From 9bf834fe58b66b7b152a6a2beb9c829cf9857c3e Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Thu, 30 Oct 2014 00:19:52 +0000 Subject: [PATCH] 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. --- debian/bootstrap.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/debian/bootstrap.sh b/debian/bootstrap.sh index 225f37e6c9..c749981770 100755 --- a/debian/bootstrap.sh +++ b/debian/bootstrap.sh @@ -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 <= 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),