commit: c7a227d056a81f3c1bb7e2895ad2239a44dd3a6f Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed Oct 30 22:46:07 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Oct 30 22:50:03 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7a227d0
dev-debug/dtrace: update live for valgrind changes Bug: https://github.com/oracle/dtrace-utils/issues/80 Bug: https://bugs.gentoo.org/938190 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-debug/dtrace/dtrace-9999.ebuild | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/dev-debug/dtrace/dtrace-9999.ebuild b/dev-debug/dtrace/dtrace-9999.ebuild index 81df7df9c16d..18b788695b6b 100644 --- a/dev-debug/dtrace/dtrace-9999.ebuild +++ b/dev-debug/dtrace/dtrace-9999.ebuild @@ -21,7 +21,7 @@ fi LICENSE="UPL-1.0" SLOT="0" -IUSE="test-install" +IUSE="test-install valgrind" # XXX: right now, we auto-adapt to whether multilibs are present: # should we force them to be? how? @@ -62,9 +62,7 @@ BDEPEND=" >=sys-devel/bpf-toolchain-14.1.0 sys-devel/flex " -# This isn't yet optional, valgrind.h is included unconditionally -# https://github.com/oracle/dtrace-utils/issues/80 -DEPEND+=" dev-debug/valgrind" +DEPEND+=" valgrind? ( dev-debug/valgrind )" QA_PRESTRIPPED=" usr/.*/dtrace/testsuite/test/triggers/.* @@ -144,6 +142,7 @@ src_configure() { --with-systemd HAVE_LIBCTF=yes HAVE_BPFV3=yes + HAVE_VALGRIND=$(usex valgrind) ) edo ./configure "${confargs[@]}"