Gentoo Archives: gentoo-dev

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