summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2020-05-02 16:31:15 -0400
committerMike Gilbert <floppym@gentoo.org>2020-05-02 16:31:15 -0400
commit943946b119a14f044dc1af8f7b90535f782bff4e (patch)
treeace6bc8da2c0ab6bc208d606dcfea06e6342e787 /dev-util/strace
parentdev-python/ujson: Stable 2.0.3 on amd64/x86, bug #720648 (diff)
downloadgentoo-943946b119a14f044dc1af8f7b90535f782bff4e.tar.gz
gentoo-943946b119a14f044dc1af8f7b90535f782bff4e.tar.bz2
gentoo-943946b119a14f044dc1af8f7b90535f782bff4e.zip
dev-util/strace: respect AR variable
Closes: https://bugs.gentoo.org/720712 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'dev-util/strace')
-rw-r--r--dev-util/strace/files/strace-5.6-AR.patch27
-rw-r--r--dev-util/strace/strace-5.6.ebuild3
2 files changed, 29 insertions, 1 deletions
diff --git a/dev-util/strace/files/strace-5.6-AR.patch b/dev-util/strace/files/strace-5.6-AR.patch
new file mode 100644
index 000000000000..ac8cc31e1d76
--- /dev/null
+++ b/dev-util/strace/files/strace-5.6-AR.patch
@@ -0,0 +1,27 @@
+From 0b0dccc7f198ce93f9b5faa3613b1630bffb338f Mon Sep 17 00:00:00 2001
+From: Mike Gilbert <floppym@gentoo.org>
+Date: Sat, 2 May 2020 16:25:21 -0400
+Subject: [PATCH] configure: check AR variable for 'ar' tool
+
+Without this, automake always hardcodes 'AR = ar' in Makefile.in
+
+Bug: https://bugs.gentoo.org/720712
+---
+ configure.ac | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/configure.ac b/configure.ac
+index 6aabc2c8..7d6dde67 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -36,6 +36,7 @@ AC_PROG_CC_STDC
+ AC_PROG_CPP
+ AC_PROG_INSTALL
+ AC_PROG_RANLIB
++AC_CHECK_TOOL([AR], [ar])
+
+ AC_USE_SYSTEM_EXTENSIONS
+ AX_CODE_COVERAGE
+--
+2.26.2
+
diff --git a/dev-util/strace/strace-5.6.ebuild b/dev-util/strace/strace-5.6.ebuild
index c08dbf18c0a5..f19588e9f9c8 100644
--- a/dev-util/strace/strace-5.6.ebuild
+++ b/dev-util/strace/strace-5.6.ebuild
@@ -41,7 +41,8 @@ RDEPEND="
"
PATCHES=(
- "${FILESDIR}/${PN}-5.5-static.patch"
+ "${FILESDIR}/strace-5.5-static.patch"
+ "${FILESDIR}/strace-5.6-AR.patch"
)
src_prepare() {