On 5/9/17 7:15 PM, Matthias Maier wrote: > sys-devel/gcc-7.1.0 requires external dev-libs/boehm-gc, the internal > copy got removed [1]. > > [1] https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=242985 > --- > eclass/toolchain.eclass | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass > index acdd401..db6e643 100644 > --- a/eclass/toolchain.eclass > +++ b/eclass/toolchain.eclass > @@ -178,6 +178,12 @@ fi > > tc_version_is_at_least 4.5 && RDEPEND+=" >=dev-libs/mpc-0.8.1:0" > > +if in_iuse objc-gc ; then > + if tc_version_is_at_least 7 ; then > + RDEPEND+=" objc-gc? ( >=dev-libs/boehm-gc-7.4.2 )" > + fi > +fi > + > if in_iuse graphite ; then > if tc_version_is_at_least 5.0 ; then > RDEPEND+=" graphite? ( >=dev-libs/isl-0.14 )" >
looks fine.