summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-10-30 22:46:07 +0000
committerSam James <sam@gentoo.org>2024-10-30 22:50:03 +0000
commitc7a227d056a81f3c1bb7e2895ad2239a44dd3a6f (patch)
treee91e38bdc975063a6baee1beca3bd70200bbcb73 /dev-debug
parentdev-debug/dtrace: update live for libsystemd removal (diff)
downloadgentoo-c7a227d056a81f3c1bb7e2895ad2239a44dd3a6f.tar.gz
gentoo-c7a227d056a81f3c1bb7e2895ad2239a44dd3a6f.tar.bz2
gentoo-c7a227d056a81f3c1bb7e2895ad2239a44dd3a6f.zip
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@gentoo.org>
Diffstat (limited to 'dev-debug')
-rw-r--r--dev-debug/dtrace/dtrace-9999.ebuild7
1 files 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[@]}"