commit:     9ce89d4622781ffe1e961fb65ef42d0e1a20d00b
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sun Aug  8 10:02:18 2021 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sun Aug  8 10:02:18 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9ce89d46

dev-vcs/got: fix AR

Closes: https://bugs.gentoo.org/807109
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-vcs/got/got-0_p20210217.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-vcs/got/got-0_p20210217.ebuild 
b/dev-vcs/got/got-0_p20210217.ebuild
index 941e6a683..115529b51 100644
--- a/dev-vcs/got/got-0_p20210217.ebuild
+++ b/dev-vcs/got/got-0_p20210217.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit autotools
+inherit autotools toolchain-funcs
 
 MY_PN="${PN}-portable"
 COMMIT="36536ee0b0fb5108076d8238a4b78c59db9dac3d"  # "linux" branch
@@ -17,7 +17,6 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
 DEPEND="
-       app-crypt/libmd
        dev-libs/openssl:=
        sys-libs/ncurses:=
        sys-libs/zlib:=
@@ -26,6 +25,7 @@ DEPEND="
        !elibc_Darwin? (
                dev-libs/libbsd
                !elibc_SunOS? (
+                       app-crypt/libmd
                        sys-apps/util-linux
                )
        )
@@ -50,6 +50,10 @@ src_prepare() {
        eautoreconf
 }
 
+src_compile() {
+       emake AR=$(tc-getAR)
+}
+
 src_install() {
        default
        doman got/*.5

Reply via email to