1 |
commit: 3ef772f7440468e878eb3a042fad4e4e9de1625f |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 10 18:27:21 2020 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 10 19:51:51 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ef772f7 |
7 |
|
8 |
app-emulation/slirp4netns: Respect AR variable (bug 722162) |
9 |
|
10 |
Reported-by: Agostino Sarubbo <ago <AT> gentoo.org> |
11 |
Closes: https://bugs.gentoo.org/722162 |
12 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
13 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
14 |
|
15 |
app-emulation/slirp4netns/slirp4netns-1.0.1.ebuild | 3 +++ |
16 |
1 file changed, 3 insertions(+) |
17 |
|
18 |
diff --git a/app-emulation/slirp4netns/slirp4netns-1.0.1.ebuild b/app-emulation/slirp4netns/slirp4netns-1.0.1.ebuild |
19 |
index 4aaf598fb7e..2d9af4a06ab 100644 |
20 |
--- a/app-emulation/slirp4netns/slirp4netns-1.0.1.ebuild |
21 |
+++ b/app-emulation/slirp4netns/slirp4netns-1.0.1.ebuild |
22 |
@@ -25,6 +25,9 @@ DEPEND="${RDEPEND} |
23 |
RESTRICT="test" |
24 |
|
25 |
src_prepare() { |
26 |
+ # Respect AR variable for bug 722162. |
27 |
+ sed -e 's|^AC_PROG_CC$|AC_DEFUN([AC_PROG_AR], [AC_CHECK_TOOL(AR, ar, :)])\nAC_PROG_AR\n\0|' \ |
28 |
+ -i configure.ac || die |
29 |
eautoreconf |
30 |
default |
31 |
} |