commit:     0aba05157b1220eee7942033b97ff75639e061eb
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  3 16:20:06 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Oct  3 16:20:06 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aba0515

net-analyzer/argus: Pass AR/RANLIB to emake

Closes: https://bugs.gentoo.org/724836
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 net-analyzer/argus/argus-3.0.8.3-r1.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/argus/argus-3.0.8.3-r1.ebuild 
b/net-analyzer/argus/argus-3.0.8.3-r1.ebuild
index bc999ce3908..cc378b5cf4b 100644
--- a/net-analyzer/argus/argus-3.0.8.3-r1.ebuild
+++ b/net-analyzer/argus/argus-3.0.8.3-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools
+inherit autotools toolchain-funcs
 
 DESCRIPTION="network Audit Record Generation and Utilization System"
 HOMEPAGE="https://openargus.org/";
@@ -64,7 +64,10 @@ src_configure() {
 }
 
 src_compile() {
-       emake CCOPT="${CFLAGS} ${LDFLAGS}"
+       emake \
+               CCOPT="${CFLAGS} ${LDFLAGS}" \
+               AR="$(tc-getAR)" \
+               RANLIB="$(tc-getRANLIB)"
 }
 
 src_install() {

Reply via email to