From f911aec8dbc0aa697b3760a9846662a930681d97 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Fri, 30 Sep 2022 02:09:16 -0400 Subject: [PATCH] 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 --- games-misc/xcruiser/xcruiser-0.30-r1.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/games-misc/xcruiser/xcruiser-0.30-r1.ebuild b/games-misc/xcruiser/xcruiser-0.30-r1.ebuild index df47efb3b36c7..22e08e0e5cc4a 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() {