Package: jq / 1.6-2.1

0007-stop-using-libtool-bin.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From: Helmut Grohne <helmut@subdivi.de>
Date: Sun, 4 Nov 2018 21:35:11 +0800
Subject: stop using libtool-bin

---
 Makefile.am | 4 ++--
 tests/setup | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

--- a/Makefile.am
+++ b/Makefile.am
@@ -118,8 +118,8 @@
 
 ### Tests (make check)
 
-TESTS = tests/optionaltest tests/mantest tests/jqtest tests/onigtest tests/shtest tests/utf8test tests/base64test
-TESTS_ENVIRONMENT = NO_VALGRIND=$(NO_VALGRIND)
+TESTS = tests/mantest tests/jqtest tests/onigtest tests/shtest
+TESTS_ENVIRONMENT = NO_VALGRIND=$(NO_VALGRIND) LIBTOOL="$(LIBTOOL)"
 
 
 ### Building the manpage
--- a/tests/setup
+++ b/tests/setup
@@ -13,7 +13,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"
     VG_EXIT0=--error-exitcode=0