toolchain.eclass: add DEPEND to dev-libs/boehm-gc, bug #617788
authorMatthias Maier <tamiko@gentoo.org>
Tue, 9 May 2017 16:54:59 +0000 (11:54 -0500)
committerMatthias Maier <tamiko@gentoo.org>
Wed, 10 May 2017 16:13:07 +0000 (11:13 -0500)
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

index acdd4013141a1d3815b61c88c4a914d1b8674391..db6e643148c27174be85b0a00ffcb08190b72de7 100644 (file)
@@ -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 )"