提交 9bf834fe authored 作者: Travis Cross's avatar Travis Cross

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.
上级 8bfc4f2d
...@@ -274,6 +274,10 @@ list_freeswitch_all_dbg_replaces () { ...@@ -274,6 +274,10 @@ list_freeswitch_all_dbg_replaces () {
} }
print_source_control () { print_source_control () {
local libtool_dep="libtool, libtool-bin"
if test "$codename" = wheezy || test "$codename" = squeeze; then
libtool_dep="libtool"
fi
cat <<EOF cat <<EOF
Source: freeswitch Source: freeswitch
Section: comm Section: comm
...@@ -283,7 +287,7 @@ Build-Depends: ...@@ -283,7 +287,7 @@ Build-Depends:
# for debian # for debian
debhelper (>= 8.0.0), debhelper (>= 8.0.0),
# bootstrapping # bootstrapping
automake (>= 1.9), autoconf, libtool, automake (>= 1.9), autoconf, ${libtool_dep},
# core build # core build
dpkg-dev (>= 1.15.8.12), gcc (>= 4:4.4.5), g++ (>= 4:4.4.5), dpkg-dev (>= 1.15.8.12), gcc (>= 4:4.4.5), g++ (>= 4:4.4.5),
libc6-dev (>= 2.11.3), make (>= 3.81), libc6-dev (>= 2.11.3), make (>= 3.81),
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论