1 |
commit: 8d84aa93208cea5c8681efd950a5b57f69ef9675 |
2 |
Author: Ionen Wolkens <sudinave <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Apr 14 15:04:34 2021 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 15 06:38:59 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d84aa93 |
7 |
|
8 |
x11-wm/vtwm: fix build with -native-symlinks |
9 |
|
10 |
Also swapped DEPEND with BDEPEND to put imake in the right block. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/726210 |
13 |
Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com> |
14 |
Closes: https://github.com/gentoo/gentoo/pull/20381 |
15 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
16 |
|
17 |
x11-wm/vtwm/vtwm-5.4.7-r2.ebuild | 15 ++++++++------- |
18 |
1 file changed, 8 insertions(+), 7 deletions(-) |
19 |
|
20 |
diff --git a/x11-wm/vtwm/vtwm-5.4.7-r2.ebuild b/x11-wm/vtwm/vtwm-5.4.7-r2.ebuild |
21 |
index e2c87e29d8c..67ac8de4a83 100644 |
22 |
--- a/x11-wm/vtwm/vtwm-5.4.7-r2.ebuild |
23 |
+++ b/x11-wm/vtwm/vtwm-5.4.7-r2.ebuild |
24 |
@@ -1,4 +1,4 @@ |
25 |
-# Copyright 1999-2019 Gentoo Authors |
26 |
+# Copyright 1999-2021 Gentoo Authors |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
|
29 |
EAPI=7 |
30 |
@@ -20,12 +20,13 @@ RDEPEND="x11-libs/libX11 |
31 |
x11-libs/libXext |
32 |
x11-libs/libXpm |
33 |
rplay? ( media-sound/rplay )" |
34 |
-DEPEND="${RDEPEND} |
35 |
+DEPEND="${RDEPEND}" |
36 |
+BDEPEND=" |
37 |
app-text/rman |
38 |
sys-devel/bison |
39 |
sys-devel/flex |
40 |
x11-base/xorg-proto |
41 |
- x11-misc/imake" |
42 |
+ >=x11-misc/imake-1.0.8-r1" |
43 |
|
44 |
src_prepare() { |
45 |
eapply "${FILESDIR}"/${P}-do-not-rm.patch |
46 |
@@ -45,14 +46,14 @@ src_prepare() { |
47 |
} |
48 |
|
49 |
src_configure() { |
50 |
- xmkmf || die "xmkmf failed" |
51 |
- emake depend |
52 |
+ CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ |
53 |
+ IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf -a || die "xmkmf failed" |
54 |
} |
55 |
|
56 |
src_compile() { |
57 |
emake \ |
58 |
- CC=$(tc-getCC) \ |
59 |
- CCOPTIONS="${CFLAGS}" \ |
60 |
+ CC="$(tc-getCC)" \ |
61 |
+ CDEBUGFLAGS="${CFLAGS}" \ |
62 |
EXTRA_LDOPTIONS="${LDFLAGS}" |
63 |
} |