diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-09-30 04:01:50 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-09-30 06:48:09 -0400 |
commit | 546235197b23d026e82e77b02c7d24233951470b (patch) | |
tree | 9b4d7a4f806335493460c6315241b599355575e5 /media-radio | |
parent | media-libs/nas: force gcc -E for imake's generation (diff) | |
download | gentoo-546235197b23d026e82e77b02c7d24233951470b.tar.gz gentoo-546235197b23d026e82e77b02c7d24233951470b.tar.bz2 gentoo-546235197b23d026e82e77b02c7d24233951470b.zip |
media-radio/ibp: 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. Albeit here it's limited
USE=X.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'media-radio')
-rw-r--r-- | media-radio/ibp/ibp-0.21-r2.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/media-radio/ibp/ibp-0.21-r2.ebuild b/media-radio/ibp/ibp-0.21-r2.ebuild index 4495eec2cb8d..62f2d6672a33 100644 --- a/media-radio/ibp/ibp-0.21-r2.ebuild +++ b/media-radio/ibp/ibp-0.21-r2.ebuild @@ -18,7 +18,9 @@ RDEPEND="sys-libs/ncurses:0= X? ( x11-libs/libX11 )" DEPEND="${RDEPEND} X? ( >=x11-misc/imake-1.0.8-r1 )" -BDEPEND="virtual/pkgconfig" +BDEPEND=" + virtual/pkgconfig + X? ( sys-devel/gcc )" src_prepare() { # Respect CFLAGS if built without USE=X @@ -33,7 +35,7 @@ src_prepare() { src_configure() { if use X ;then CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ - IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die + IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}" xmkmf || die fi } |