summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2023-05-18 10:33:51 +0200
committerSven Wegener <swegener@gentoo.org>2023-05-18 10:47:23 +0200
commite4e09a6784fac729fac82b835258545dce3e8997 (patch)
tree89b4ba0e99cca542841c6330361e92d159c81d55 /net-dns
parentnet-vpn/openfortivpn: add 1.20.2 (diff)
downloadgentoo-e4e09a6784fac729fac82b835258545dce3e8997.tar.gz
gentoo-e4e09a6784fac729fac82b835258545dce3e8997.tar.bz2
gentoo-e4e09a6784fac729fac82b835258545dce3e8997.zip
net-dns/pdns-recursor: add valgrind support, bug #906510
Closes: https://bugs.gentoo.org/906510 Signed-off-by: Sven Wegener <swegener@gentoo.org>
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/pdns-recursor/pdns-recursor-4.8.4.ebuild5
1 files changed, 4 insertions, 1 deletions
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)
}