commit:     80e8c172eed46f84f135469732d4593a2ff1fdf3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 12 12:23:03 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 12 12:23:12 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80e8c172

toolchain.eclass: add use-dep default for D

The others are masked, but w/e.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/toolchain.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 15487fc6e65d..c83678f41d2e 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -332,7 +332,7 @@ if tc_version_is_at_least 12.0 ; then
        # D in 12+ is self-hosting and needs D to bootstrap.
        # TODO: package some binary we can use, like for Ada
        # bug #840182
-       BDEPEND+=" d? ( || ( sys-devel/gcc[d] <sys-devel/gcc-12[d] ) )"
+       BDEPEND+=" d? ( || ( sys-devel/gcc[d(-)] <sys-devel/gcc-12[d(-)] ) )"
 fi
 
 PDEPEND=">=sys-devel/gcc-config-2.3"

Reply via email to