diff options
author | Sam James <sam@gentoo.org> | 2023-05-16 03:23:00 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-05-16 03:23:00 +0100 |
commit | e8cabe12b4d3d0ba57557ee7c248771392e76023 (patch) | |
tree | f6d709f5248b0ae2e3d0fe2e55aa20a2fb0a36e2 /sys-libs | |
parent | net-analyzer/net-snmp: add Valgrind annotation support (diff) | |
download | gentoo-e8cabe12b4d3d0ba57557ee7c248771392e76023.tar.gz gentoo-e8cabe12b4d3d0ba57557ee7c248771392e76023.tar.bz2 gentoo-e8cabe12b4d3d0ba57557ee7c248771392e76023.zip |
sys-libs/talloc: add Valgrind annotation support
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/talloc/talloc-2.4.0.ebuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys-libs/talloc/talloc-2.4.0.ebuild b/sys-libs/talloc/talloc-2.4.0.ebuild index 91cac0843835..964f7364ee44 100644 --- a/sys-libs/talloc/talloc-2.4.0.ebuild +++ b/sys-libs/talloc/talloc-2.4.0.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://www.samba.org/ftp/${PN}/${P}.tar.gz" LICENSE="GPL-3 LGPL-3+ LGPL-2" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~sparc-solaris ~x64-solaris" -IUSE="compat +python" +IUSE="compat +python valgrind" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RESTRICT="test" @@ -27,7 +27,11 @@ RDEPEND=" ) python? ( ${PYTHON_DEPS} ) " -DEPEND="${RDEPEND}" +# Valgrind is automagic here but it's a build-only dep so it's not so bad. +DEPEND=" + ${RDEPEND} + valgrind? ( dev-util/valgrind ) +" BDEPEND=" ${PYTHON_DEPS} dev-libs/libxslt |