FS-5936 respect archlib in libesl-perl because it is different depending on distro

This commit is contained in:
Stanislav Sinyagin 2016-05-04 23:11:35 +02:00
parent 23a1d37ae7
commit 2b307a0a51
2 changed files with 8 additions and 2 deletions

8
debian/bootstrap.sh vendored
View File

@ -1047,6 +1047,13 @@ genlang () {
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 () {
local x=""
# build-depends
@ -1282,6 +1289,7 @@ echo "Generating debian/ (modules)..." >&2
map_modules "mod_filter" \
"gencontrol_per_cat" \
"gencontrol_per_mod geninstall_per_mod genoverrides_per_mod"
geninstall_perl
if [ ${use_sysvinit} = "true" ]; then
echo -n freeswitch-sysvinit >freeswitch-init.provided_by

View File

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