diff -Nru heartbeat-3.0.5+hg12629/debian/changelog heartbeat-3.0.5+hg12629/debian/changelog --- heartbeat-3.0.5+hg12629/debian/changelog 2014-08-23 17:21:48.000000000 +0000 +++ heartbeat-3.0.5+hg12629/debian/changelog 2014-10-13 19:05:26.000000000 +0000 @@ -1,3 +1,10 @@ +heartbeat (1:3.0.5+hg12629-1.2) unstable; urgency=medium + + * Non-maintainer upload. + * Check for libtoolize rather than libtool. Closes: #761759 + + -- Johannes Schauer Tue, 07 Oct 2014 22:26:43 +0200 + heartbeat (1:3.0.5+hg12629-1.1) unstable; urgency=medium * Non-maintainer upload. diff -Nru heartbeat-3.0.5+hg12629/debian/patches/libtoolize_check.patch heartbeat-3.0.5+hg12629/debian/patches/libtoolize_check.patch --- heartbeat-3.0.5+hg12629/debian/patches/libtoolize_check.patch 1970-01-01 00:00:00.000000000 +0000 +++ heartbeat-3.0.5+hg12629/debian/patches/libtoolize_check.patch 2014-10-13 19:05:12.000000000 +0000 @@ -0,0 +1,59 @@ +Description: check for libtoolize rather than libtool +Author: Johannes Schauer +Forwarded: no + +--- heartbeat-3.0.5+hg12629.orig/bootstrap ++++ heartbeat-3.0.5+hg12629/bootstrap +@@ -173,23 +173,19 @@ ln -s `which $automake` ./automake + + # Check for Libtool + pkg="libtool" +-for command in libtool libtool14 libtool15 glibtool +-do +- URL=$gnu/$pkg/ +- if +- testProgram $command +- then +- : OK $pkg is installed +- libtool=$command +- libtoolize=`echo "$libtool" | sed -e 's/libtool/libtoolize/'` +- fi +-done ++URL=$gnu/$pkg/ ++if ++ testProgram libtoolize ++then ++ : OK $pkg is installed ++ libtoolize=libtoolize ++fi + + # Check to see if we got a valid command. + if +- $libtool --version /dev/null 2>&1 ++ $libtoolize --version /dev/null 2>&1 + then +- echo "Libtool package $libtool found." ++ echo "Libtool package $libtoolize found." + else + RC=$? + cat <<-EOF >&2 +@@ -200,10 +196,6 @@ else + EOF + fi + +-# Create local copy so that the incremental updates will work. +-rm -f ./libtool +-ln -s `which $libtool` ./libtool +- + case $RC in + 0) ;; + *) exit $RC;; +@@ -217,7 +209,7 @@ oneline() { + read x; echo "$x" + } + +-LT_version=`$libtool --version | oneline | sed -e 's%^[^0-9]*%%' -e s'% .*%%'` ++LT_version=`$libtoolize --version | oneline | sed -e 's%^[^0-9]*%%' -e s'% .*%%'` + LT_majvers=`echo "$LT_version" | sed -e 's%\..*%%'` + LT_minvers=`echo "$LT_version" | sed -e 's%^[^.]*\.%%' ` + LT_minnum=`echo "$LT_minvers" | sed -e 's%[^0-9].*%%'` diff -Nru heartbeat-3.0.5+hg12629/debian/patches/series heartbeat-3.0.5+hg12629/debian/patches/series --- heartbeat-3.0.5+hg12629/debian/patches/series 2014-02-21 13:58:01.000000000 +0000 +++ heartbeat-3.0.5+hg12629/debian/patches/series 2014-10-13 19:05:12.000000000 +0000 @@ -2,3 +2,4 @@ 01_docbook_path.dpatch fix-shlibdeps.patch heartbeat-init-script.patch +libtoolize_check.patch