Source: jq
Version: 1.5+dfsg-2
Severity: important
Tags: patch upstream

We want to remove libtool-bin from the archive. jq uses it even though
it does libtoolize. Forwarding the generated libtool to tests/setup is
all that is needed to remove the dependency on libtool-bin. Please apply
the attached patch and replace your libtool-bin dependency with libtool.

Helmut
--- jq-1.5+dfsg.orig/Makefile.am
+++ jq-1.5+dfsg/Makefile.am
@@ -93,7 +93,7 @@
 ### Tests (make check)
 
 TESTS = tests/mantest tests/jqtest tests/onigtest tests/shtest
-TESTS_ENVIRONMENT = NO_VALGRIND=$(NO_VALGRIND)
+TESTS_ENVIRONMENT = NO_VALGRIND=$(NO_VALGRIND) LIBTOOL="$(LIBTOOL)"
 
 
 ### Building the manpage
--- jq-1.5+dfsg.orig/tests/setup
+++ jq-1.5+dfsg/tests/setup
@@ -9,7 +9,7 @@
 JQ=$JQBASEDIR/jq
 
 if [ -z "${NO_VALGRIND-}" ] && which valgrind > /dev/null; then
-    VALGRIND="libtool --mode=execute -- valgrind \
+    VALGRIND="$LIBTOOL --mode=execute -- valgrind \
     		      	       --error-exitcode=1 --leak-check=full \
 		      	       --suppressions=$JQTESTDIR/onig.supp"
     Q=-q

Reply via email to