summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-09-30 04:44:31 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-09-30 06:48:11 -0400
commitf610370333c533c0dae1e0c59d009f23849ff993 (patch)
tree0356433ad7b235d3768d32a68d617124fa57aac8 /x11-misc
parentsci-calculators/hexcalc: force gcc -E for imake's generation (diff)
downloadgentoo-f610370333c533c0dae1e0c59d009f23849ff993.tar.gz
gentoo-f610370333c533c0dae1e0c59d009f23849ff993.tar.bz2
gentoo-f610370333c533c0dae1e0c59d009f23849ff993.zip
x11-misc/dclock: 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. Closes: https://bugs.gentoo.org/871357 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/dclock/dclock-2.2.2_p12.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/x11-misc/dclock/dclock-2.2.2_p12.ebuild b/x11-misc/dclock/dclock-2.2.2_p12.ebuild
index aa4f9a6f28fd..40e1bc5b5574 100644
--- a/x11-misc/dclock/dclock-2.2.2_p12.ebuild
+++ b/x11-misc/dclock/dclock-2.2.2_p12.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -30,6 +30,7 @@ DEPEND="
"
BDEPEND="
app-text/rman
+ sys-devel/gcc
>=x11-misc/imake-1.0.8-r1
xft? ( virtual/pkgconfig )
"
@@ -54,7 +55,7 @@ src_configure() {
fi
CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
- IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die
+ IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}" xmkmf || die
}
src_compile() {