games-simulation/lincity-ng: Respect AR and RANLIB
authorJames Le Cuirot <chewi@gentoo.org>
Wed, 6 Mar 2019 22:13:27 +0000 (22:13 +0000)
committerJames Le Cuirot <chewi@gentoo.org>
Wed, 6 Mar 2019 22:35:10 +0000 (22:35 +0000)
Unlike CXX and friends, these are not passed from configure to jam.

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
games-simulation/lincity-ng/lincity-ng-2.9_beta.ebuild

index 264541ba5b17a69c99fc9a2cb23cb05825aaff0e..c49cae5849f821dbf787d742986da536a507bc08 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools libtool multiprocessing
+inherit autotools libtool multiprocessing toolchain-funcs
 
 DESCRIPTION="City simulation game"
 HOMEPAGE="https://github.com/lincity-ng/lincity-ng"
@@ -41,7 +41,11 @@ src_prepare() {
 }
 
 src_compile() {
-       jam -q -dx -j $(makeopts_jobs) || die "jam failed"
+       jam -q -dx \
+               -j$(makeopts_jobs) \
+               -sAR="$(tc-getAR) ru" \
+               -sRANLIB="$(tc-getRANLIB)" \
+               || die "jam failed"
 }
 
 src_install() {