Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-calculators/hexcalc/
Date: Fri, 30 Sep 2022 11:02:18
Message-Id: 1664534890.22a88c72c06705bc13f4c7c09881aba1ee1b4780.ionen@gentoo
1 commit: 22a88c72c06705bc13f4c7c09881aba1ee1b4780
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 30 08:39:40 2022 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 30 10:48:10 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22a88c72
7
8 sci-calculators/hexcalc: force gcc -E for imake's generation
9
10 Requires traditional cpp support and is broken in all sort of ways
11 with clang-cpp / -E. Can still use clang & friends for everything else.
12
13 Ideally these packages need to be built another way or last rited,
14 imake will just accumulate more problems.
15
16 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
17
18 sci-calculators/hexcalc/hexcalc-1.11-r4.ebuild | 3 ++-
19 1 file changed, 2 insertions(+), 1 deletion(-)
20
21 diff --git a/sci-calculators/hexcalc/hexcalc-1.11-r4.ebuild b/sci-calculators/hexcalc/hexcalc-1.11-r4.ebuild
22 index e3c78faf52ab..20e117cd6853 100644
23 --- a/sci-calculators/hexcalc/hexcalc-1.11-r4.ebuild
24 +++ b/sci-calculators/hexcalc/hexcalc-1.11-r4.ebuild
25 @@ -23,6 +23,7 @@ DEPEND="
26 x11-base/xorg-proto"
27 BDEPEND="
28 app-text/rman
29 + sys-devel/gcc
30 >=x11-misc/imake-1.0.8-r1"
31
32 PATCHES=(
33 @@ -32,7 +33,7 @@ PATCHES=(
34
35 src_configure() {
36 CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
37 - IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die
38 + IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}" xmkmf || die
39 }
40
41 src_compile() {