Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/larswm/
Date: Thu, 15 Apr 2021 06:40:10
Message-Id: 1618468739.90a5c9a2d28192003bf5f78984a7ee02ad74c5ce.juippis@gentoo
1 commit: 90a5c9a2d28192003bf5f78984a7ee02ad74c5ce
2 Author: Ionen Wolkens <sudinave <AT> gmail <DOT> com>
3 AuthorDate: Wed Apr 14 14:49:20 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=90a5c9a2
7
8 x11-wm/larswm: 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/726232
13 Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com>
14 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
15
16 x11-wm/larswm/larswm-7.5.3-r2.ebuild | 14 ++++++++------
17 1 file changed, 8 insertions(+), 6 deletions(-)
18
19 diff --git a/x11-wm/larswm/larswm-7.5.3-r2.ebuild b/x11-wm/larswm/larswm-7.5.3-r2.ebuild
20 index 532c9a439f7..6506e3b2921 100644
21 --- a/x11-wm/larswm/larswm-7.5.3-r2.ebuild
22 +++ b/x11-wm/larswm/larswm-7.5.3-r2.ebuild
23 @@ -1,4 +1,4 @@
24 -# Copyright 1999-2020 Gentoo Authors
25 +# Copyright 1999-2021 Gentoo Authors
26 # Distributed under the terms of the GNU General Public License v2
27
28 EAPI=7
29 @@ -17,20 +17,22 @@ RDEPEND="x11-libs/libX11
30 x11-libs/libXmu
31 x11-libs/libXt
32 x11-libs/libXext"
33 -DEPEND="${RDEPEND}
34 +DEPEND="${RDEPEND}"
35 +BDEPEND="
36 x11-base/xorg-proto
37 - x11-misc/imake
38 + >=x11-misc/imake-1.0.8-r1
39 x11-misc/gccmakedep
40 app-text/rman"
41
42 src_configure() {
43 - xmkmf -a || die
44 + CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
45 + IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf -a || die
46 }
47
48 src_compile() {
49 emake \
50 - CC=$(tc-getCC) \
51 - CCOPTIONS="${CFLAGS}" \
52 + CC="$(tc-getCC)" \
53 + CDEBUGFLAGS="${CFLAGS}" \
54 EXTRA_LDOPTIONS="${LDFLAGS}"
55 }