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.
}
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
# 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),