1 |
commit: 440dd6f39522f63bf3e0678f5b8cfe9e97a15fff |
2 |
Author: Ionen Wolkens <sudinave <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Apr 14 13:29:09 2021 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 15 06:38:57 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=440dd6f3 |
7 |
|
8 |
x11-misc/xtoolwait: fix build with -native-symlinks |
9 |
|
10 |
Closes: https://bugs.gentoo.org/726226 |
11 |
Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com> |
12 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
13 |
|
14 |
x11-misc/xtoolwait/xtoolwait-1.3-r2.ebuild | 16 +++++++--------- |
15 |
1 file changed, 7 insertions(+), 9 deletions(-) |
16 |
|
17 |
diff --git a/x11-misc/xtoolwait/xtoolwait-1.3-r2.ebuild b/x11-misc/xtoolwait/xtoolwait-1.3-r2.ebuild |
18 |
index 386962ee976..379b2beb3fa 100644 |
19 |
--- a/x11-misc/xtoolwait/xtoolwait-1.3-r2.ebuild |
20 |
+++ b/x11-misc/xtoolwait/xtoolwait-1.3-r2.ebuild |
21 |
@@ -1,4 +1,4 @@ |
22 |
-# Copyright 1999-2019 Gentoo Authors |
23 |
+# Copyright 1999-2021 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=7 |
27 |
@@ -16,23 +16,21 @@ KEYWORDS="amd64 ppc x86" |
28 |
RDEPEND=" |
29 |
x11-libs/libX11 |
30 |
x11-libs/libXext" |
31 |
-DEPEND="${RDEPEND} |
32 |
- x11-base/xorg-proto" |
33 |
+DEPEND="${RDEPEND}" |
34 |
BDEPEND=" |
35 |
app-text/rman |
36 |
- x11-misc/imake" |
37 |
+ x11-base/xorg-proto |
38 |
+ >=x11-misc/imake-1.0.8-r1" |
39 |
|
40 |
src_configure() { |
41 |
- xmkmf || die |
42 |
- sed -i \ |
43 |
- -e '/CC = /d' -e '/EXTRA_LDOPTIONS = /d' \ |
44 |
- Makefile || die |
45 |
+ CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ |
46 |
+ IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die |
47 |
} |
48 |
|
49 |
src_compile() { |
50 |
emake \ |
51 |
CC="$(tc-getCC)" \ |
52 |
- CCOPTIONS="${CFLAGS}" \ |
53 |
+ CDEBUGFLAGS="${CFLAGS}" \ |
54 |
EXTRA_LDOPTIONS="${LDFLAGS}" |
55 |
} |