Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xfishtank/
Date: Fri, 30 Sep 2022 11:02:21
Message-Id: 1664534892.e08f9c22c1b49251a14d47fec27378ca60f5a6c4.ionen@gentoo
1 commit: e08f9c22c1b49251a14d47fec27378ca60f5a6c4
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 30 09:15:47 2022 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 30 10:48:12 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e08f9c22
7
8 x11-misc/xfishtank: 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 x11-misc/xfishtank/xfishtank-2.5.ebuild | 11 +++++++----
19 1 file changed, 7 insertions(+), 4 deletions(-)
20
21 diff --git a/x11-misc/xfishtank/xfishtank-2.5.ebuild b/x11-misc/xfishtank/xfishtank-2.5.ebuild
22 index c8e58903ac86..48df2a9e84c5 100644
23 --- a/x11-misc/xfishtank/xfishtank-2.5.ebuild
24 +++ b/x11-misc/xfishtank/xfishtank-2.5.ebuild
25 @@ -1,4 +1,4 @@
26 -# Copyright 1999-2021 Gentoo Authors
27 +# Copyright 1999-2022 Gentoo Authors
28 # Distributed under the terms of the GNU General Public License v2
29
30 EAPI=7
31 @@ -18,16 +18,19 @@ RDEPEND="
32 x11-libs/libXext
33 x11-libs/libXt
34 "
35 -DEPEND="${RDEPEND}"
36 -BDEPEND="
37 +DEPEND="
38 + ${RDEPEND}
39 x11-base/xorg-proto
40 +"
41 +BDEPEND="
42 + sys-devel/gcc
43 >=x11-misc/imake-1.0.8-r1
44 "
45 S=${WORKDIR}/${PN}
46
47 src_configure() {
48 CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
49 - IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die
50 + IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}" xmkmf || die
51 }
52
53 src_compile() {