summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}