summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <sudinave@gmail.com>2021-04-14 06:52:54 -0400
committerJoonas Niilola <juippis@gentoo.org>2021-04-15 09:38:54 +0300
commit9125cac6b7858eee2325ee74d0658c387df981c6 (patch)
tree085d7400eb6ee27f594162581b8b036603e36d3f /media-radio
parentmedia-libs/nas: fix build with -native-symlinks (diff)
downloadgentoo-9125cac6b7858eee2325ee74d0658c387df981c6.tar.gz
gentoo-9125cac6b7858eee2325ee74d0658c387df981c6.tar.bz2
gentoo-9125cac6b7858eee2325ee74d0658c387df981c6.zip
media-radio/ibp: fix USE=X build with -native-symlinks
Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-radio')
-rw-r--r--media-radio/ibp/ibp-0.21-r1.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/media-radio/ibp/ibp-0.21-r1.ebuild b/media-radio/ibp/ibp-0.21-r1.ebuild
index 0d4596ba3e93..a02af617b34f 100644
--- a/media-radio/ibp/ibp-0.21-r1.ebuild
+++ b/media-radio/ibp/ibp-0.21-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -16,7 +16,7 @@ IUSE="X"
RDEPEND="sys-libs/ncurses:0
X? ( x11-libs/libX11 )"
DEPEND="${RDEPEND}
- X? ( x11-misc/imake )"
+ X? ( >=x11-misc/imake-1.0.8-r1 )"
src_prepare() {
# respect CFLAGS if built without USE=X
@@ -31,7 +31,8 @@ src_prepare() {
src_configure() {
if use X ;then
- xmkmf || die
+ CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
+ IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die
fi
}