commit:     e625e03a6550b19eeacccd15bd0173ba0520c493
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Tue Jul 16 23:06:29 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed Jul 17 01:13:15 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e625e03a

games-strategy/gigalomania: export CHOST CXX for make to pick it up

Add braces to variables

Bug: https://bugs.gentoo.org/933590
Fixes: 045133af3013ed23260908c32e5ca3bcd1b4297e
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 games-strategy/gigalomania/gigalomania-1.0.1.ebuild | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/games-strategy/gigalomania/gigalomania-1.0.1.ebuild 
b/games-strategy/gigalomania/gigalomania-1.0.1.ebuild
index d2e5bb1ec..c21290b05 100644
--- a/games-strategy/gigalomania/gigalomania-1.0.1.ebuild
+++ b/games-strategy/gigalomania/gigalomania-1.0.1.ebuild
@@ -3,13 +3,13 @@
 
 EAPI=8
 
-inherit wrapper
+inherit toolchain-funcs wrapper
 
 DESCRIPTION="Libre clone of Mega-Lo-Mania (original from ~1990), supports 
original resources"
 HOMEPAGE="https://gigalomania.sourceforge.net";
-SRC_URI="http://launchpad.net/$PN/trunk/$PV/+download/${PN}src.zip -> ${P}.zip"
+SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${PN}src.zip -> 
${P}.zip"
 
-S="$WORKDIR/${PN}src"
+S="${WORKDIR}/${PN}src"
 
 LICENSE="GPL-2"
 
@@ -34,13 +34,14 @@ PATCHES="
 "
 
 src_compile() {
+       tc-export CXX
        emake CFLAGS="${CFLAGS}"
 }
 
 src_install() {
        DESTDIR="${ED}" emake install
 
-       make_wrapper $PN "./$PN" /opt/$PN/
+       make_wrapper ${PN} "./${PN}" /opt/${PN}/
 }
 
 pkg_postinst() {

Reply via email to