1 |
commit: a39d1669ca0f42a2477c978d14ba5c22728aa6cb |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 31 04:57:54 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 31 04:58:27 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a39d1669 |
7 |
|
8 |
toolchain.eclass: adjust D dep for non-gcc |
9 |
|
10 |
Needed for sys-devel/kgcc64. |
11 |
|
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
eclass/toolchain.eclass | 4 ++-- |
15 |
1 file changed, 2 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass |
18 |
index 5c6e39472a58..4a91f0d3dee0 100644 |
19 |
--- a/eclass/toolchain.eclass |
20 |
+++ b/eclass/toolchain.eclass |
21 |
@@ -324,11 +324,11 @@ if tc_has_feature zstd ; then |
22 |
RDEPEND+=" zstd? ( app-arch/zstd:= )" |
23 |
fi |
24 |
|
25 |
-if tc_has_feature valgrind; then |
26 |
+if tc_has_feature valgrind ; then |
27 |
BDEPEND+=" valgrind? ( dev-util/valgrind )" |
28 |
fi |
29 |
|
30 |
-if tc_version_is_at_least 12.0 ; then |
31 |
+if tc_has_feature d && tc_version_is_at_least 12.0 ; then |
32 |
# D in 12+ is self-hosting and needs D to bootstrap. |
33 |
# TODO: package some binary we can use, like for Ada |
34 |
# bug #840182 |