commit:     c0281fe73e67f5ba86e7ae474b6a44002219e025
Author:     Sergey Popov <pinkbyte <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 15 16:30:31 2020 +0000
Commit:     Sergey Popov <pinkbyte <AT> gentoo <DOT> org>
CommitDate: Sun Nov 15 16:33:26 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0281fe7

games-strategy/seven-kingdoms: respect AR variable

Reported-by: Agostino Sarubbo <ago <AT> gentoo.org>
Closes: https://bugs.gentoo.org/740770
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Sergey Popov <pinkbyte <AT> gentoo.org>

 games-strategy/seven-kingdoms/seven-kingdoms-2.14.7.ebuild | 8 ++++++--
 games-strategy/seven-kingdoms/seven-kingdoms-2.15.2.ebuild | 6 +++++-
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/games-strategy/seven-kingdoms/seven-kingdoms-2.14.7.ebuild 
b/games-strategy/seven-kingdoms/seven-kingdoms-2.14.7.ebuild
index 33a7974f04b..e76f54f6280 100644
--- a/games-strategy/seven-kingdoms/seven-kingdoms-2.14.7.ebuild
+++ b/games-strategy/seven-kingdoms/seven-kingdoms-2.14.7.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit eutils
+inherit eutils toolchain-funcs
 
 MY_PN="7kaa"
 MY_P="${MY_PN}-${PV}"
@@ -29,6 +29,10 @@ src_unpack() {
        unpack ${MY_P}.tar.xz
 }
 
+src_compile() {
+       emake AR="$(tc-getAR)"
+}
+
 src_install() {
        default
 

diff --git a/games-strategy/seven-kingdoms/seven-kingdoms-2.15.2.ebuild 
b/games-strategy/seven-kingdoms/seven-kingdoms-2.15.2.ebuild
index f8f2227e3f7..5e61bb4e116 100644
--- a/games-strategy/seven-kingdoms/seven-kingdoms-2.15.2.ebuild
+++ b/games-strategy/seven-kingdoms/seven-kingdoms-2.15.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit desktop
+inherit desktop toolchain-funcs
 
 MY_PN="7kaa"
 MY_P="${MY_PN}-${PV}"
@@ -31,6 +31,10 @@ src_unpack() {
        unpack ${MY_P}.tar.xz
 }
 
+src_compile() {
+       emake AR="$(tc-getAR)"
+}
+
 src_install() {
        default
 

Reply via email to