summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-09-29 23:45:19 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-09-30 00:05:14 -0400
commita384d56453397172dff9faab2beff6bf47ab9e16 (patch)
tree2152a5a0c94d05967c2878f425bd10988709ceae /x11-misc/xxkb
parentkde-plasma/plasma-meta: Stabilize 5.25.5 arm64, #868909 (diff)
downloadgentoo-a384d56453397172dff9faab2beff6bf47ab9e16.tar.gz
gentoo-a384d56453397172dff9faab2beff6bf47ab9e16.tar.bz2
gentoo-a384d56453397172dff9faab2beff6bf47ab9e16.zip
x11-misc/xxkb: 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/870739 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'x11-misc/xxkb')
-rw-r--r--x11-misc/xxkb/xxkb-1.11.1-r1.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/x11-misc/xxkb/xxkb-1.11.1-r1.ebuild b/x11-misc/xxkb/xxkb-1.11.1-r1.ebuild
index b0977944da0a..1b5ae5edd57f 100644
--- a/x11-misc/xxkb/xxkb-1.11.1-r1.ebuild
+++ b/x11-misc/xxkb/xxkb-1.11.1-r1.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
@@ -31,6 +31,7 @@ RDEPEND="
DEPEND="${RDEPEND}"
BDEPEND="
app-text/rman
+ sys-devel/gcc
>=x11-misc/imake-1.0.8-r1
svg? ( virtual/pkgconfig )
"
@@ -49,7 +50,7 @@ src_prepare() {
src_configure() {
CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
- IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" \
+ IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}" \
xmkmf $(usex svg -DWITH_SVG_SUPPORT '') || die
}