From a39d1669ca0f42a2477c978d14ba5c22728aa6cb Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 31 Aug 2022 05:57:54 +0100 Subject: toolchain.eclass: adjust D dep for non-gcc Needed for sys-devel/kgcc64. Signed-off-by: Sam James --- eclass/toolchain.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 5c6e39472a58..4a91f0d3dee0 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -324,11 +324,11 @@ if tc_has_feature zstd ; then RDEPEND+=" zstd? ( app-arch/zstd:= )" fi -if tc_has_feature valgrind; then +if tc_has_feature valgrind ; then BDEPEND+=" valgrind? ( dev-util/valgrind )" fi -if tc_version_is_at_least 12.0 ; then +if tc_has_feature d && 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 -- cgit v1.2.3-65-gdbad