1 |
commit: 0d3699ef910b77807149053b1c10a896c051ecf1 |
2 |
Author: Yixun Lan <dlan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 26 06:46:10 2020 +0000 |
4 |
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 26 06:47:37 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d3699ef |
7 |
|
8 |
net-misc/megatools: respect 'AR' variable |
9 |
|
10 |
use AM_PROG_AR to default to standard AR discovery |
11 |
instead of make's 'ar'. |
12 |
|
13 |
Closes: https://bugs.gentoo.org/725202 |
14 |
Package-Manager: Portage-2.3.100, Repoman-2.3.22 |
15 |
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> |
16 |
|
17 |
net-misc/megatools/megatools-1.10.3.ebuild | 2 +- |
18 |
1 file changed, 1 insertion(+), 1 deletion(-) |
19 |
|
20 |
diff --git a/net-misc/megatools/megatools-1.10.3.ebuild b/net-misc/megatools/megatools-1.10.3.ebuild |
21 |
index 577aa496b79..f963f80749f 100644 |
22 |
--- a/net-misc/megatools/megatools-1.10.3.ebuild |
23 |
+++ b/net-misc/megatools/megatools-1.10.3.ebuild |
24 |
@@ -27,6 +27,7 @@ DEPEND="${COMMON_DEPEND} |
25 |
|
26 |
src_prepare() { |
27 |
default |
28 |
+ sed -i -e "/^AC_PROG_CC/ a AM_PROG_AR" configure.ac || die |
29 |
eautoreconf |
30 |
} |
31 |
|
32 |
@@ -35,5 +36,4 @@ src_configure() { |
33 |
econf \ |
34 |
--disable-maintainer-mode \ |
35 |
--disable-warnings |
36 |
- |
37 |
} |