Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-calculators/hexcalc/
Date: Thu, 15 Apr 2021 06:40:01
Message-Id: 1618468734.ef7a79a4c856d9737cd85bcae0b934a58a5ea115.juippis@gentoo
1 commit: ef7a79a4c856d9737cd85bcae0b934a58a5ea115
2 Author: Ionen Wolkens <sudinave <AT> gmail <DOT> com>
3 AuthorDate: Wed Apr 14 11:19:56 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=ef7a79a4
7
8 sci-calculators/hexcalc: fix build with -native-symlinks
9
10 Closes: https://bugs.gentoo.org/725330
11 Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com>
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 sci-calculators/hexcalc/hexcalc-1.11-r3.ebuild | 10 +++++++---
15 1 file changed, 7 insertions(+), 3 deletions(-)
16
17 diff --git a/sci-calculators/hexcalc/hexcalc-1.11-r3.ebuild b/sci-calculators/hexcalc/hexcalc-1.11-r3.ebuild
18 index e7618165080..c9740ad088e 100644
19 --- a/sci-calculators/hexcalc/hexcalc-1.11-r3.ebuild
20 +++ b/sci-calculators/hexcalc/hexcalc-1.11-r3.ebuild
21 @@ -1,4 +1,4 @@
22 -# Copyright 1999-2019 Gentoo Authors
23 +# Copyright 1999-2021 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 EAPI=6
27 @@ -16,15 +16,19 @@ IUSE=""
28
29 RDEPEND="x11-libs/libXaw"
30 DEPEND="${RDEPEND}
31 - x11-misc/imake
32 + >=x11-misc/imake-1.0.8-r1
33 app-text/rman"
34
35 S=${WORKDIR}/${PN}
36
37 PATCHES=( "${FILESDIR}"/${PN}-{keypad,order}.diff )
38
39 +src_configure() {
40 + CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
41 + IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die
42 +}
43 +
44 src_compile() {
45 - xmkmf || die
46 emake \
47 CC="$(tc-getCC)" \
48 CFLAGS="${CFLAGS}" \