summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-09-30 04:39:40 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-09-30 06:48:10 -0400
commit22a88c72c06705bc13f4c7c09881aba1ee1b4780 (patch)
tree549409b33df4b60428839f909630add9d0c314cb /sci-calculators/hexcalc
parentsci-calculators/hexcalc: EAPI6->8, fix license, drop dead HOMEPAGE (diff)
downloadgentoo-22a88c72c06705bc13f4c7c09881aba1ee1b4780.tar.gz
gentoo-22a88c72c06705bc13f4c7c09881aba1ee1b4780.tar.bz2
gentoo-22a88c72c06705bc13f4c7c09881aba1ee1b4780.zip
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>
Diffstat (limited to 'sci-calculators/hexcalc')
-rw-r--r--sci-calculators/hexcalc/hexcalc-1.11-r4.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/sci-calculators/hexcalc/hexcalc-1.11-r4.ebuild b/sci-calculators/hexcalc/hexcalc-1.11-r4.ebuild
index e3c78faf52ab..20e117cd6853 100644
--- a/sci-calculators/hexcalc/hexcalc-1.11-r4.ebuild
+++ b/sci-calculators/hexcalc/hexcalc-1.11-r4.ebuild
@@ -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() {