Handle debian's libtool-bin change

The libtool binary used to be contained in the libtool package.  As of
current sid/jessie the libtool package contains everything about
libtool but the libtool binary, and we need to install libtool-bin to
get the libtool binary itself.  Which is to say that Debian decided to
make the libtool package architecture-independent.

Without this commit the FS debian packaging will not build/bootstrap
on sid/jessie.
This commit is contained in:
Travis Cross 2014-10-30 00:19:52 +00:00
parent 8bfc4f2def
commit 9bf834fe58

6
debian/bootstrap.sh vendored
View File

@ -274,6 +274,10 @@ list_freeswitch_all_dbg_replaces () {
}
print_source_control () {
local libtool_dep="libtool, libtool-bin"
if test "$codename" = wheezy || test "$codename" = squeeze; then
libtool_dep="libtool"
fi
cat <<EOF
Source: freeswitch
Section: comm
@ -283,7 +287,7 @@ Build-Depends:
# for debian
debhelper (>= 8.0.0),
# bootstrapping
automake (>= 1.9), autoconf, libtool,
automake (>= 1.9), autoconf, ${libtool_dep},
# core build
dpkg-dev (>= 1.15.8.12), gcc (>= 4:4.4.5), g++ (>= 4:4.4.5),
libc6-dev (>= 2.11.3), make (>= 3.81),