diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-09-30 05:08:16 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-09-30 06:48:12 -0400 |
commit | 3e8c612e4e146c920f33595b95034ebee18ca031 (patch) | |
tree | c6a9315d4f6ea0c435b9dc577a67077708250b5a /x11-misc | |
parent | x11-misc/xbatt: EAPI6->8, drop dead urls (diff) | |
download | gentoo-3e8c612e4e146c920f33595b95034ebee18ca031.tar.gz gentoo-3e8c612e4e146c920f33595b95034ebee18ca031.tar.bz2 gentoo-3e8c612e4e146c920f33595b95034ebee18ca031.zip |
x11-misc/xbatt: 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 'x11-misc')
-rw-r--r-- | x11-misc/xbatt/xbatt-1.3_rc1-r1.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/x11-misc/xbatt/xbatt-1.3_rc1-r1.ebuild b/x11-misc/xbatt/xbatt-1.3_rc1-r1.ebuild index 56d0ce5f7d91..1c3072e729f7 100644 --- a/x11-misc/xbatt/xbatt-1.3_rc1-r1.ebuild +++ b/x11-misc/xbatt/xbatt-1.3_rc1-r1.ebuild @@ -26,7 +26,9 @@ RDEPEND=" DEPEND=" ${RDEPEND} x11-base/xorg-proto" -BDEPEND=">=x11-misc/imake-1.0.8-r1" +BDEPEND=" + sys-devel/gcc + >=x11-misc/imake-1.0.8-r1" PATCHES=( "${FILESDIR}"/${PN}-1.2.1-implicits.patch @@ -34,7 +36,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() { |