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-terms/root-tail/
Date: Thu, 15 Apr 2021 06:40:08
Message-Id: 1618468738.e182d60c6e8ab1e1e2608e887d702649807488b7.juippis@gentoo
1 commit: e182d60c6e8ab1e1e2608e887d702649807488b7
2 Author: Ionen Wolkens <sudinave <AT> gmail <DOT> com>
3 AuthorDate: Wed Apr 14 14:35:55 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 15 06:38:58 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e182d60c
7
8 x11-terms/root-tail: 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/726208
13 Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com>
14 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
15
16 x11-terms/root-tail/root-tail-1.2-r4.ebuild | 13 +++++++------
17 1 file changed, 7 insertions(+), 6 deletions(-)
18
19 diff --git a/x11-terms/root-tail/root-tail-1.2-r4.ebuild b/x11-terms/root-tail/root-tail-1.2-r4.ebuild
20 index 410af2e4297..ea4f261a0a9 100644
21 --- a/x11-terms/root-tail/root-tail-1.2-r4.ebuild
22 +++ b/x11-terms/root-tail/root-tail-1.2-r4.ebuild
23 @@ -1,4 +1,4 @@
24 -# Copyright 1999-2019 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 @@ -16,10 +16,10 @@ IUSE="kde debug"
30
31 RDEPEND="x11-libs/libXext
32 x11-libs/libX11"
33 -DEPEND="x11-misc/imake
34 +DEPEND="${RDEPEND}"
35 +BDEPEND=">=x11-misc/imake-1.0.8-r1
36 app-text/rman
37 x11-base/xorg-proto
38 - x11-libs/libX11
39 x11-misc/gccmakedep"
40
41 src_prepare() {
42 @@ -28,15 +28,16 @@ src_prepare() {
43 }
44
45 src_configure() {
46 - xmkmf -a
47 + CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
48 + IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf -a || die
49 }
50
51 src_compile() {
52 sed -i 's:/usr/X11R6/bin:/usr/bin:' Makefile || die "sed Makefile failed"
53 use debug && append-flags -DDEBUG
54 emake \
55 - CC=$(tc-getCC) \
56 - CCOPTIONS="${CFLAGS}" \
57 + CC="$(tc-getCC)" \
58 + CDEBUGFLAGS="${CFLAGS}" \
59 EXTRA_LDOPTIONS="${LDFLAGS}"
60 }