1 |
commit: 0ce2363dcf5bed5a993e16586c7e0e2e2e3b1449 |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 30 10:20:12 2022 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 30 10:48:14 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ce2363d |
7 |
|
8 |
x11-terms/root-tail: 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-terms/root-tail/root-tail-1.2-r4.ebuild | 15 ++++++++------- |
19 |
1 file changed, 8 insertions(+), 7 deletions(-) |
20 |
|
21 |
diff --git a/x11-terms/root-tail/root-tail-1.2-r4.ebuild b/x11-terms/root-tail/root-tail-1.2-r4.ebuild |
22 |
index aa82399568d3..733a496b5760 100644 |
23 |
--- a/x11-terms/root-tail/root-tail-1.2-r4.ebuild |
24 |
+++ b/x11-terms/root-tail/root-tail-1.2-r4.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 |
@@ -16,11 +16,12 @@ IUSE="kde debug" |
32 |
|
33 |
RDEPEND="x11-libs/libXext |
34 |
x11-libs/libX11" |
35 |
-DEPEND="${RDEPEND}" |
36 |
-BDEPEND=">=x11-misc/imake-1.0.8-r1 |
37 |
- app-text/rman |
38 |
- x11-base/xorg-proto |
39 |
- x11-misc/gccmakedep" |
40 |
+DEPEND="${RDEPEND} |
41 |
+ x11-base/xorg-proto" |
42 |
+BDEPEND="app-text/rman |
43 |
+ sys-devel/gcc |
44 |
+ x11-misc/gccmakedep |
45 |
+ >=x11-misc/imake-1.0.8-r1" |
46 |
|
47 |
src_prepare() { |
48 |
use kde && eapply "${FILESDIR}"/${P}-kde.patch |
49 |
@@ -29,7 +30,7 @@ src_prepare() { |
50 |
|
51 |
src_configure() { |
52 |
CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ |
53 |
- IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf -a || die |
54 |
+ IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}" xmkmf -a || die |
55 |
} |
56 |
|
57 |
src_compile() { |