From 2b307a0a51f576ad0dc15faa220dbf09a7111b80 Mon Sep 17 00:00:00 2001 From: Stanislav Sinyagin Date: Wed, 4 May 2016 23:11:35 +0200 Subject: [PATCH] FS-5936 respect archlib in libesl-perl because it is different depending on distro --- debian/bootstrap.sh | 8 ++++++++ debian/libesl-perl.install | 2 -- 2 files changed, 8 insertions(+), 2 deletions(-) delete mode 100644 debian/libesl-perl.install diff --git a/debian/bootstrap.sh b/debian/bootstrap.sh index 6470fdb0aa..4a1cfc76a5 100755 --- a/debian/bootstrap.sh +++ b/debian/bootstrap.sh @@ -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 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/*.*