Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/vncrec/
Date: Thu, 15 Apr 2021 06:40:02
Message-Id: 1618468734.bca2dc9137a9966187d7a7ce084bd0e152b359bc.juippis@gentoo
1 commit: bca2dc9137a9966187d7a7ce084bd0e152b359bc
2 Author: Ionen Wolkens <sudinave <AT> gmail <DOT> com>
3 AuthorDate: Wed Apr 14 11:03:03 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 15 06:38:54 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bca2dc91
7
8 net-misc/vncrec: fix build with -native-symlinks
9
10 Closes: https://bugs.gentoo.org/725262
11 Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com>
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 net-misc/vncrec/vncrec-0.2-r2.ebuild | 13 ++++++++-----
15 1 file changed, 8 insertions(+), 5 deletions(-)
16
17 diff --git a/net-misc/vncrec/vncrec-0.2-r2.ebuild b/net-misc/vncrec/vncrec-0.2-r2.ebuild
18 index cb4d1e4f751..71f1c49f257 100644
19 --- a/net-misc/vncrec/vncrec-0.2-r2.ebuild
20 +++ b/net-misc/vncrec/vncrec-0.2-r2.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 @@ -24,7 +24,7 @@ DEPEND="${RDEPEND}
28 app-text/rman
29 x11-base/xorg-proto
30 x11-misc/gccmakedep
31 - x11-misc/imake
32 + >=x11-misc/imake-1.0.8-r1
33 "
34
35 DOCS=( README README.vnc )
36 @@ -38,13 +38,16 @@ src_prepare() {
37 }
38
39 src_configure() {
40 - xmkmf -a || die
41 + CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
42 + IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf -a || die
43 }
44
45 src_compile() {
46 emake \
47 - CC=$(tc-getCC) \
48 - CCOPTIONS="${CXXFLAGS}" \
49 + AR="$(tc-getAR) cq" \
50 + CC="$(tc-getCC)" \
51 + RANLIB="$(tc-getRANLIB)" \
52 + CDEBUGFLAGS="${CFLAGS}" \
53 EXTRA_LDOPTIONS="${LDFLAGS}" \
54 World
55 }