1 |
commit: 9125cac6b7858eee2325ee74d0658c387df981c6 |
2 |
Author: Ionen Wolkens <sudinave <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Apr 14 10:52:54 2021 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 15 06:38:54 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9125cac6 |
7 |
|
8 |
media-radio/ibp: fix USE=X build with -native-symlinks |
9 |
|
10 |
Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com> |
11 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
12 |
|
13 |
media-radio/ibp/ibp-0.21-r1.ebuild | 7 ++++--- |
14 |
1 file changed, 4 insertions(+), 3 deletions(-) |
15 |
|
16 |
diff --git a/media-radio/ibp/ibp-0.21-r1.ebuild b/media-radio/ibp/ibp-0.21-r1.ebuild |
17 |
index 0d4596ba3e9..a02af617b34 100644 |
18 |
--- a/media-radio/ibp/ibp-0.21-r1.ebuild |
19 |
+++ b/media-radio/ibp/ibp-0.21-r1.ebuild |
20 |
@@ -1,4 +1,4 @@ |
21 |
-# Copyright 1999-2020 Gentoo Authors |
22 |
+# Copyright 1999-2021 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
EAPI="6" |
26 |
@@ -16,7 +16,7 @@ IUSE="X" |
27 |
RDEPEND="sys-libs/ncurses:0 |
28 |
X? ( x11-libs/libX11 )" |
29 |
DEPEND="${RDEPEND} |
30 |
- X? ( x11-misc/imake )" |
31 |
+ X? ( >=x11-misc/imake-1.0.8-r1 )" |
32 |
|
33 |
src_prepare() { |
34 |
# respect CFLAGS if built without USE=X |
35 |
@@ -31,7 +31,8 @@ src_prepare() { |
36 |
|
37 |
src_configure() { |
38 |
if use X ;then |
39 |
- xmkmf || die |
40 |
+ CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ |
41 |
+ IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die |
42 |
fi |
43 |
} |