sci-calculators/hexcalc: 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>
This commit is contained in:
Ionen Wolkens 2022-09-30 04:39:40 -04:00
parent 3f4901e8b7
commit 22a88c72c0
No known key found for this signature in database
GPG Key ID: B24406B0B0AC4334
1 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@ DEPEND="
x11-base/xorg-proto"
BDEPEND="
app-text/rman
sys-devel/gcc
>=x11-misc/imake-1.0.8-r1"
PATCHES=(
@ -32,7 +33,7 @@ PATCHES=(
src_configure() {
CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die
IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}" xmkmf || die
}
src_compile() {