commit:     0d3699ef910b77807149053b1c10a896c051ecf1
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Tue May 26 06:46:10 2020 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Tue May 26 06:47:37 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d3699ef

net-misc/megatools: respect 'AR' variable

use AM_PROG_AR to default to standard AR discovery
instead of make's 'ar'.

Closes: https://bugs.gentoo.org/725202
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 net-misc/megatools/megatools-1.10.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/megatools/megatools-1.10.3.ebuild 
b/net-misc/megatools/megatools-1.10.3.ebuild
index 577aa496b79..f963f80749f 100644
--- a/net-misc/megatools/megatools-1.10.3.ebuild
+++ b/net-misc/megatools/megatools-1.10.3.ebuild
@@ -27,6 +27,7 @@ DEPEND="${COMMON_DEPEND}
 
 src_prepare() {
        default
+       sed -i -e "/^AC_PROG_CC/ a AM_PROG_AR" configure.ac || die
        eautoreconf
 }
 
@@ -35,5 +36,4 @@ src_configure() {
        econf \
                --disable-maintainer-mode \
                --disable-warnings
-
 }

Reply via email to