commit:     831f9c1fa0c10f96b7814e180a1bf140bce7cf8d
Author:     Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Sat May  1 15:25:44 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue May 18 10:33:25 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=831f9c1f

app-text/uudeview: Replace hardcoded ar with `tc-getAR`.

Closes: https://bugs.gentoo.org/722602
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-text/uudeview/uudeview-0.5.20-r2.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/app-text/uudeview/uudeview-0.5.20-r2.ebuild 
b/app-text/uudeview/uudeview-0.5.20-r2.ebuild
index 1e0174e5eb8..c92ff28eafb 100644
--- a/app-text/uudeview/uudeview-0.5.20-r2.ebuild
+++ b/app-text/uudeview/uudeview-0.5.20-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit autotools
+inherit autotools toolchain-funcs
 
 DESCRIPTION="uu, xx, base64, binhex decoder"
 HOMEPAGE="http://www.fpx.de/fp/Software/UUDeview/";
@@ -25,6 +25,8 @@ PATCHES=(
 DOCS=( HISTORY INSTALL README )
 
 src_prepare() {
+       sed -i "s/^\tar r/\t$(tc-getAR) r/" uulib/Makefile.in || die
+
        default
        mv configure.{in,ac} || die
        eautoreconf

Reply via email to