commit: 9006a29ec332349099aaef9b7236dcbeee26134b
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 7 08:30:02 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 7 08:33:56 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9006a29e
toolchain.eclass: BDEPEND->DEPEND for Valgrind headers
Hit this with a cross after d8c55bb85be9923213168c69a054a154c077cfb8:
```
configure: error: --enable-valgrind-interop: valgrind/memcheck.h not found
```
But it needed fixing anyway. I'll make a followup change to restrict
it to some targets too.
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 2afa6df1295a..06d5392ef316 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -424,7 +424,7 @@ if tc_has_feature zstd ; then
fi
if tc_has_feature valgrind ; then
- BDEPEND+=" valgrind? ( dev-debug/valgrind )"
+ DEPEND+=" valgrind? ( dev-debug/valgrind )"
fi
if [[ ${PN} != gnat-gpl ]] && tc_has_feature ada ; then