From: Zac Medico Date: Sun, 10 May 2020 18:27:21 +0000 (-0700) Subject: app-emulation/slirp4netns: Respect AR variable (bug 722162) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3ef772f7440468e878eb3a042fad4e4e9de1625f;p=gentoo.git 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 --- 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 }