Gentoo Archives: gentoo-dev

From: Matthias Maier <tamiko@g.o>
To: gentoo-dev@l.g.o
Cc: toolchain@g.o
Subject: [gentoo-dev] [PATCH] toolchain.eclass: add DEPEND to dev-libs/boehm-gc, bug #617788
Date: Tue, 09 May 2017 17:15:34
Message-Id: 20170509171514.6763-1-tamiko@gentoo.org
1 sys-devel/gcc-7.1.0 requires external dev-libs/boehm-gc, the internal
2 copy got removed [1].
3
4 [1] https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=242985
5 ---
6 eclass/toolchain.eclass | 6 ++++++
7 1 file changed, 6 insertions(+)
8
9 diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
10 index acdd401..db6e643 100644
11 --- a/eclass/toolchain.eclass
12 +++ b/eclass/toolchain.eclass
13 @@ -178,6 +178,12 @@ fi
14
15 tc_version_is_at_least 4.5 && RDEPEND+=" >=dev-libs/mpc-0.8.1:0"
16
17 +if in_iuse objc-gc ; then
18 + if tc_version_is_at_least 7 ; then
19 + RDEPEND+=" objc-gc? ( >=dev-libs/boehm-gc-7.4.2 )"
20 + fi
21 +fi
22 +
23 if in_iuse graphite ; then
24 if tc_version_is_at_least 5.0 ; then
25 RDEPEND+=" graphite? ( >=dev-libs/isl-0.14 )"
26 --
27 2.10.2

Replies