commit: e4e09a6784fac729fac82b835258545dce3e8997 Author: Sven Wegener <swegener <AT> gentoo <DOT> org> AuthorDate: Thu May 18 08:33:51 2023 +0000 Commit: Sven Wegener <swegener <AT> gentoo <DOT> org> CommitDate: Thu May 18 08:47:23 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4e09a67
net-dns/pdns-recursor: add valgrind support, bug #906510 Closes: https://bugs.gentoo.org/906510 Signed-off-by: Sven Wegener <swegener <AT> gentoo.org> net-dns/pdns-recursor/pdns-recursor-4.8.4.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/net-dns/pdns-recursor/pdns-recursor-4.8.4.ebuild b/net-dns/pdns-recursor/pdns-recursor-4.8.4.ebuild index 3a29170ed128..402e2ea18aa7 100644 --- a/net-dns/pdns-recursor/pdns-recursor-4.8.4.ebuild +++ b/net-dns/pdns-recursor/pdns-recursor-4.8.4.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~arm x86" -IUSE="debug dnstap snmp sodium systemd test" +IUSE="debug dnstap snmp sodium systemd test valgrind" REQUIRED_USE="${LUA_REQUIRED_USE}" RESTRICT="!test? ( test )" @@ -33,6 +33,8 @@ RDEPEND="${DEPEND} !<net-dns/pdns-2.9.20-r1 acct-user/pdns acct-group/pdns" +DEPEND="${DEPEND} + valgrind? ( dev-util/valgrind )" BDEPEND="virtual/pkgconfig" S="${WORKDIR}"/${P/_/-} @@ -55,6 +57,7 @@ src_configure() { $(use_enable systemd) \ $(use_enable dnstap dnstap) \ $(use_enable test unit-tests) \ + $(use_enable valgrind) \ $(use_with sodium libsodium) \ $(use_with snmp net-snmp) }