From 3ef772f7440468e878eb3a042fad4e4e9de1625f Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 10 May 2020 11:27:21 -0700 Subject: [PATCH] app-emulation/slirp4netns: Respect AR variable (bug 722162) Reported-by: Agostino Sarubbo Closes: https://bugs.gentoo.org/722162 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Zac Medico --- app-emulation/slirp4netns/slirp4netns-1.0.1.ebuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app-emulation/slirp4netns/slirp4netns-1.0.1.ebuild b/app-emulation/slirp4netns/slirp4netns-1.0.1.ebuild index 4aaf598fb7e5..2d9af4a06ab7 100644 --- a/app-emulation/slirp4netns/slirp4netns-1.0.1.ebuild +++ b/app-emulation/slirp4netns/slirp4netns-1.0.1.ebuild @@ -25,6 +25,9 @@ DEPEND="${RDEPEND} RESTRICT="test" src_prepare() { + # Respect AR variable for bug 722162. + sed -e 's|^AC_PROG_CC$|AC_DEFUN([AC_PROG_AR], [AC_CHECK_TOOL(AR, ar, :)])\nAC_PROG_AR\n\0|' \ + -i configure.ac || die eautoreconf default } -- 2.26.2