summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-09-30 02:09:16 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-09-30 06:37:02 -0400
commitf911aec8dbc0aa697b3760a9846662a930681d97 (patch)
tree0081c00b701d784d21fc2812acdf1674f270a4c3 /games-misc
parentgames-board/xscrabble: force gcc -E for imake's generation (diff)
downloadgentoo-f911aec8dbc0aa697b3760a9846662a930681d97.tar.gz
gentoo-f911aec8dbc0aa697b3760a9846662a930681d97.tar.bz2
gentoo-f911aec8dbc0aa697b3760a9846662a930681d97.zip
games-misc/xcruiser: force gcc -E for imake's generation
Requires traditional cpp support and is broken in all sort of ways with clang-cpp / -E. Can still use clang & friends for everything else. Ideally these packages need to be built another way or last rited, imake will just accumulate more problems. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-misc')
-rw-r--r--games-misc/xcruiser/xcruiser-0.30-r1.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games-misc/xcruiser/xcruiser-0.30-r1.ebuild b/games-misc/xcruiser/xcruiser-0.30-r1.ebuild
index df47efb3b36c..22e08e0e5cc4 100644
--- a/games-misc/xcruiser/xcruiser-0.30-r1.ebuild
+++ b/games-misc/xcruiser/xcruiser-0.30-r1.ebuild
@@ -18,12 +18,13 @@ RDEPEND="x11-libs/libXaw"
DEPEND="${RDEPEND}"
BDEPEND="
app-text/rman
+ sys-devel/gcc
x11-misc/gccmakedep
>=x11-misc/imake-1.0.8-r1"
src_configure() {
CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
- IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf -a || die
+ IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}" xmkmf -a || die
}
src_compile() {