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/lwm/
Date: Thu, 15 Apr 2021 06:40:08
Message-Id: 1618468739.4d982495c4a51401ce3b1e8c918c01782fb01099.juippis@gentoo
1 commit: 4d982495c4a51401ce3b1e8c918c01782fb01099
2 Author: Ionen Wolkens <sudinave <AT> gmail <DOT> com>
3 AuthorDate: Wed Apr 14 14:59:47 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=4d982495
7
8 x11-wm/lwm: fix build with -native-symlinks
9
10 Closes: https://bugs.gentoo.org/726256
11 Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com>
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 x11-wm/lwm/lwm-1.2.4.ebuild | 10 +++++++---
15 1 file changed, 7 insertions(+), 3 deletions(-)
16
17 diff --git a/x11-wm/lwm/lwm-1.2.4.ebuild b/x11-wm/lwm/lwm-1.2.4.ebuild
18 index 563b885460e..c42e35e0988 100644
19 --- a/x11-wm/lwm/lwm-1.2.4.ebuild
20 +++ b/x11-wm/lwm/lwm-1.2.4.ebuild
21 @@ -1,4 +1,4 @@
22 -# Copyright 1999-2018 Gentoo Foundation
23 +# Copyright 1999-2021 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 EAPI=6
27 @@ -23,7 +23,7 @@ RDEPEND="
28 DEPEND="
29 ${RDEPEND}
30 x11-base/xorg-proto
31 - x11-misc/imake
32 + >=x11-misc/imake-1.0.8-r1
33 "
34
35 DOCS=( AUTHORS BUGS ChangeLog )
36 @@ -31,7 +31,11 @@ DOCS=( AUTHORS BUGS ChangeLog )
37 src_prepare() {
38 default
39 sed -i -e "s#(SMLIB)#& -lICE#g" Imakefile || die #370127
40 - xmkmf || die
41 +}
42 +
43 +src_configure() {
44 + CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
45 + IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die
46 }
47
48 src_compile() {