Merge pull request #840 in FS/freeswitch from ~SSINYAGIN/freeswitch:bugfix/FS-5936-esl.pm-not-included-in-debian-packages to master

* commit '2b307a0a51f576ad0dc15faa220dbf09a7111b80':
  FS-5936 respect archlib in libesl-perl because it is different depending on distro
This commit is contained in:
Ken Rice 2016-05-04 17:12:10 -05:00
commit 9293b6b9cc
2 changed files with 8 additions and 2 deletions

8
debian/bootstrap.sh vendored
View File

@ -1054,6 +1054,13 @@ genlang () {
test -f $f.tmpl && cat $f.tmpl >> $f test -f $f.tmpl && cat $f.tmpl >> $f
} }
geninstall_perl () {
local archlib
eval `perl -V:archlib`
echo $archlib/ESL.\* >libesl-perl.install
echo $archlib/ESL/\*.\* >>libesl-perl.install
}
accumulate_mod_deps () { accumulate_mod_deps () {
local x="" local x=""
# build-depends # build-depends
@ -1289,6 +1296,7 @@ echo "Generating debian/ (modules)..." >&2
map_modules "mod_filter" \ map_modules "mod_filter" \
"gencontrol_per_cat" \ "gencontrol_per_cat" \
"gencontrol_per_mod geninstall_per_mod genoverrides_per_mod" "gencontrol_per_mod geninstall_per_mod genoverrides_per_mod"
geninstall_perl
if [ ${use_sysvinit} = "true" ]; then if [ ${use_sysvinit} = "true" ]; then
echo -n freeswitch-sysvinit >freeswitch-init.provided_by echo -n freeswitch-sysvinit >freeswitch-init.provided_by

View File

@ -1,2 +0,0 @@
usr/lib/*/perl/5.*/ESL.*
usr/lib/*/perl/5.*/ESL/*.*