summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dns/pdns/pdns-4.1.0_rc3-r1.ebuild')
-rw-r--r--net-dns/pdns/pdns-4.1.0_rc3-r1.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/net-dns/pdns/pdns-4.1.0_rc3-r1.ebuild b/net-dns/pdns/pdns-4.1.0_rc3-r1.ebuild
index 06d462d4a735..d97d257344e6 100644
--- a/net-dns/pdns/pdns-4.1.0_rc3-r1.ebuild
+++ b/net-dns/pdns/pdns-4.1.0_rc3-r1.ebuild
@@ -18,7 +18,7 @@ KEYWORDS="~amd64 ~x86"
# oracle: dito (need Oracle Client Libraries)
# xdb: (almost) dead, surely not supported
-IUSE="botan debug doc geoip ldap libressl lua luajit mydns mysql opendbx postgres protobuf remote sqlite systemd tools tinydns test"
+IUSE="botan debug doc geoip ldap libressl lua luajit mydns mysql opendbx postgres protobuf remote sodium sqlite systemd tools tinydns test"
REQUIRED_USE="mydns? ( mysql ) ?? ( lua luajit )"
@@ -35,6 +35,7 @@ RDEPEND="
sqlite? ( dev-db/sqlite:3 )
opendbx? ( dev-db/opendbx )
geoip? ( >=dev-cpp/yaml-cpp-0.5.1 dev-libs/geoip )
+ sodium? ( dev-libs/libsodium:= )
tinydns? ( >=dev-db/tinycdb-0.77 )
protobuf? ( dev-libs/protobuf )"
DEPEND="${RDEPEND}
@@ -76,6 +77,7 @@ src_configure() {
$(use_enable test unit-tests) \
$(use_enable tools) \
$(use_enable systemd) \
+ $(use_enable sodium libsodium) \
$(use_with lua) \
$(use_with luajit) \
$(use_with protobuf) \