diff --git a/debian/bootstrap.sh b/debian/bootstrap.sh index 237dde7819..6783699354 100755 --- a/debian/bootstrap.sh +++ b/debian/bootstrap.sh @@ -1054,6 +1054,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 @@ -1289,6 +1296,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 diff --git a/debian/libesl-perl.install b/debian/libesl-perl.install deleted file mode 100644 index bd9a871e7c..0000000000 --- a/debian/libesl-perl.install +++ /dev/null @@ -1,2 +0,0 @@ -usr/lib/*/perl/5.*/ESL.* -usr/lib/*/perl/5.*/ESL/*.*