commit:     2e19c9194cfa6ed199bc31345f8ea65ae166f1b4
Author:     Matt Smith <matt <AT> offtopica <DOT> uk>
AuthorDate: Tue May  4 14:19:25 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue May  4 14:55:38 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e19c919

x11-misc/xplanet: Don't call AR directly

Closes: https://bugs.gentoo.org/726292
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Matt Smith <matt <AT> offtopica.uk>
Closes: https://github.com/gentoo/gentoo/pull/20680
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 x11-misc/xplanet/xplanet-1.3.1-r2.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/x11-misc/xplanet/xplanet-1.3.1-r2.ebuild 
b/x11-misc/xplanet/xplanet-1.3.1-r2.ebuild
index 1eef6008ea9..ac79390deb7 100644
--- a/x11-misc/xplanet/xplanet-1.3.1-r2.ebuild
+++ b/x11-misc/xplanet/xplanet-1.3.1-r2.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-inherit autotools flag-o-matic
+inherit autotools flag-o-matic toolchain-funcs
 
 DESCRIPTION="Render images of the earth into the X root window"
 HOMEPAGE="http://xplanet.sourceforge.net/";
@@ -66,3 +66,7 @@ src_configure() {
        )
        econf --with-cspice=no "${myconf[@]}"
 }
+
+src_compile() {
+       emake AR=$(tc-getAR)
+}

Reply via email to