commit:     b84e82ed10075b598f31400a83fd2fc4ae05d602
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 16 21:01:17 2022 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Apr 16 21:01:17 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b84e82ed

app-emulation/aranym: Respect the AR environment variable

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 app-emulation/aranym/aranym-1.1.0.ebuild         |  1 +
 app-emulation/aranym/files/aranym-1.1.0-ar.patch | 24 ++++++++++++++++++++++++
 2 files changed, 25 insertions(+)

diff --git a/app-emulation/aranym/aranym-1.1.0.ebuild 
b/app-emulation/aranym/aranym-1.1.0.ebuild
index ac7ca441637a..291f5a97220e 100644
--- a/app-emulation/aranym/aranym-1.1.0.ebuild
+++ b/app-emulation/aranym/aranym-1.1.0.ebuild
@@ -39,6 +39,7 @@ BDEPEND="virtual/pkgconfig"
 PATCHES=(
        "${FILESDIR}"/${PN}-1.1.0-conditional-installs.patch
        "${FILESDIR}"/${PN}-1.1.0-libcwrap.patch
+       "${FILESDIR}"/${PN}-1.1.0-ar.patch
 )
 
 ECONF_SOURCE="${S}"

diff --git a/app-emulation/aranym/files/aranym-1.1.0-ar.patch 
b/app-emulation/aranym/files/aranym-1.1.0-ar.patch
new file mode 100644
index 000000000000..55026a626334
--- /dev/null
+++ b/app-emulation/aranym/files/aranym-1.1.0-ar.patch
@@ -0,0 +1,24 @@
+From 9d8586fe8b0f210b2a2d3f5e6f710993015945aa Mon Sep 17 00:00:00 2001
+From: James Le Cuirot <ch...@gentoo.org>
+Date: Sat, 16 Apr 2022 21:51:04 +0100
+Subject: [PATCH] Respect the AR environment variable when building
+
+---
+ configure.ac | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/configure.ac b/configure.ac
+index 14eedb5f..8d425dee 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -371,6 +371,7 @@ AC_PROG_MAKE_SET
+ AC_PROG_INSTALL
+ AC_PROG_MKDIR_P
+ AC_PROG_RANLIB
++AM_PROG_AR
+ AC_PATH_PROG(PERL, perl)
+ AC_CHECK_TOOLS(WINDRES, [windres], :)
+ PKG_PROG_PKG_CONFIG
+-- 
+2.34.1
+

Reply via email to