app-office/magicpoint: force gcc -E for imake's generation

Requires traditional cpp support and is broken in all sort of ways
with clang-cpp / -E.

Ideally these packages need to be built another way or last rited,
imake will just accumulate more problems.

wrt #729526, not entirely fixed as still broken with clang16

Bug: https://bugs.gentoo.org/729526
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2022-09-30 00:27:53 -04:00
parent 847357bb2a
commit 56b5f6e31e

View File

@@ -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
@@ -49,6 +49,7 @@ DEPEND="
x11-libs/libxkbfile"
BDEPEND="
app-text/rman
sys-devel/gcc
virtual/pkgconfig
x11-base/xorg-proto
>=x11-misc/imake-1.0.8-r1
@@ -112,7 +113,7 @@ src_configure() {
econf "${myeconfargs[@]}"
export IMAKECPP="${IMAKECPP:-$(tc-getCPP)}"
export IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}"
CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" xmkmf || die
}