summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2020-05-10 11:27:21 -0700
committerZac Medico <zmedico@gentoo.org>2020-05-10 12:51:51 -0700
commit3ef772f7440468e878eb3a042fad4e4e9de1625f (patch)
treef386b5e70d4fe6476723cf55118ef926078e29b9 /app-emulation/slirp4netns
parentgames-simulation/openrct2: drop old version (diff)
downloadgentoo-3ef772f7440468e878eb3a042fad4e4e9de1625f.tar.gz
gentoo-3ef772f7440468e878eb3a042fad4e4e9de1625f.tar.bz2
gentoo-3ef772f7440468e878eb3a042fad4e4e9de1625f.zip
app-emulation/slirp4netns: Respect AR variable (bug 722162)
Reported-by: Agostino Sarubbo <ago@gentoo.org> Closes: https://bugs.gentoo.org/722162 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-emulation/slirp4netns')
-rw-r--r--app-emulation/slirp4netns/slirp4netns-1.0.1.ebuild3
1 files changed, 3 insertions, 0 deletions
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
}