commit: 6f040a46b71eb17a7d7168c73825020b34fa691a Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> AuthorDate: Tue May 9 16:54:59 2017 +0000 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> CommitDate: Wed May 10 16:13:07 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f040a46
toolchain.eclass: add DEPEND to dev-libs/boehm-gc, bug #617788 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 acdd4013141..db6e643148c 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 )"