summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-09-30 00:02:08 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-09-30 00:05:15 -0400
commit25dc780c4bc7aa944518a2ca059b0dd14c4e3214 (patch)
tree5171fad08216583e3bcae20afb852eaebc2818fc /media-fonts
parentmedia-fonts/x11fonts-jmk: EAPI7->8, remove dead urls, tidy (diff)
downloadgentoo-25dc780c4bc7aa944518a2ca059b0dd14c4e3214.tar.gz
gentoo-25dc780c4bc7aa944518a2ca059b0dd14c4e3214.tar.bz2
gentoo-25dc780c4bc7aa944518a2ca059b0dd14c4e3214.zip
media-fonts/x11fonts-jmk: 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/870784 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/x11fonts-jmk/x11fonts-jmk-3.0-r4.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/media-fonts/x11fonts-jmk/x11fonts-jmk-3.0-r4.ebuild b/media-fonts/x11fonts-jmk/x11fonts-jmk-3.0-r4.ebuild
index 05c66b025c1a..70ad93064b5f 100644
--- a/media-fonts/x11fonts-jmk/x11fonts-jmk-3.0-r4.ebuild
+++ b/media-fonts/x11fonts-jmk/x11fonts-jmk-3.0-r4.ebuild
@@ -17,6 +17,7 @@ SLOT="0"
KEYWORDS="~alpha amd64 arm ~ia64 ~loong ppc ~s390 sparc x86"
BDEPEND="
+ sys-devel/gcc
>=x11-misc/imake-1.0.8-r1
>=x11-apps/mkfontscale-1.2.0
x11-apps/bdftopcf"
@@ -27,7 +28,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_install() {