summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2017-05-09 11:54:59 -0500
committerMatthias Maier <tamiko@gentoo.org>2017-05-10 11:13:07 -0500
commit6f040a46b71eb17a7d7168c73825020b34fa691a (patch)
treed6ebc73715d6e5808a04a8c0f77da46dfae466a4 /eclass
parentapp-text/mupdf: x86 stable wrt bug #614044 (diff)
downloadgentoo-6f040a46b71eb17a7d7168c73825020b34fa691a.tar.gz
gentoo-6f040a46b71eb17a7d7168c73825020b34fa691a.tar.bz2
gentoo-6f040a46b71eb17a7d7168c73825020b34fa691a.zip
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
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass6
1 files changed, 6 insertions, 0 deletions
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 )"