commit:     a6342eae7590b9d527023d4a983c29e2b08dc149
Author:     Matt Jolly <Matt.Jolly <AT> footclan <DOT> ninja>
AuthorDate: Mon Sep  5 11:06:37 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Sep 21 00:04:15 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6342eae

games-fps/alephone: override AR in src_compile

Closes: https://bugs.gentoo.org/867622

Signed-off-by: Matt Jolly <Matt.Jolly <AT> footclan.ninja>
Closes: https://github.com/gentoo/gentoo/pull/27152
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-fps/alephone/alephone-20220115.ebuild | 7 ++++++-
 games-fps/alephone/alephone-9999.ebuild     | 7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/games-fps/alephone/alephone-20220115.ebuild 
b/games-fps/alephone/alephone-20220115.ebuild
index 3b71a7f7c6ec..3fc299106b8f 100644
--- a/games-fps/alephone/alephone-20220115.ebuild
+++ b/games-fps/alephone/alephone-20220115.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit autotools optfeature prefix xdg
+inherit autotools optfeature prefix toolchain-funcs xdg
 
 DESCRIPTION="An enhanced version of the game engine from the classic Mac game, 
Marathon"
 HOMEPAGE="http://source.bungie.org/";
@@ -75,6 +75,11 @@ src_configure() {
                $(use_with upnp miniupnpc)
 }
 
+src_compile() {
+       tc-export AR
+       default
+}
+
 src_install() {
        default
        prefixify_ro "${FILESDIR}"/${PN}.sh

diff --git a/games-fps/alephone/alephone-9999.ebuild 
b/games-fps/alephone/alephone-9999.ebuild
index 3b71a7f7c6ec..3fc299106b8f 100644
--- a/games-fps/alephone/alephone-9999.ebuild
+++ b/games-fps/alephone/alephone-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit autotools optfeature prefix xdg
+inherit autotools optfeature prefix toolchain-funcs xdg
 
 DESCRIPTION="An enhanced version of the game engine from the classic Mac game, 
Marathon"
 HOMEPAGE="http://source.bungie.org/";
@@ -75,6 +75,11 @@ src_configure() {
                $(use_with upnp miniupnpc)
 }
 
+src_compile() {
+       tc-export AR
+       default
+}
+
 src_install() {
        default
        prefixify_ro "${FILESDIR}"/${PN}.sh

Reply via email to