net-dns/pdns-recursor: Add snmp USE flag, bug #639018
authorSven Wegener <swegener@gentoo.org>
Thu, 30 Nov 2017 18:26:03 +0000 (18:26 +0000)
committerSven Wegener <swegener@gentoo.org>
Thu, 30 Nov 2017 19:05:44 +0000 (19:05 +0000)
Package-Manager: Portage-2.3.14, Repoman-2.3.6
Closes: https://bugs.gentoo.org/639018

net-dns/pdns-recursor/pdns-recursor-4.1.0_rc3-r1.ebuild

index 2e5354ed116164209986344d4049ec58c133251d..224ae2f7537a5e68f65cdc55491d6b4d38b72818 100644 (file)
@@ -12,7 +12,7 @@ SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~x86"
-IUSE="libressl luajit protobuf sodium systemd"
+IUSE="libressl luajit protobuf snmp sodium systemd"
 
 DEPEND="!luajit? ( >=dev-lang/lua-5.1:= )
        luajit? ( dev-lang/luajit:= )
@@ -21,6 +21,7 @@ DEPEND="!luajit? ( >=dev-lang/lua-5.1:= )
                >=dev-libs/boost-1.42:=
        )
        systemd? ( sys-apps/systemd:0= )
+       snmp? ( net-analyzer/net-snmp )
        sodium? ( dev-libs/libsodium:= )
        libressl? ( dev-libs/libressl:= )
        !libressl? ( dev-libs/openssl:= )
@@ -47,7 +48,8 @@ src_configure() {
                $(use_enable sodium libsodium) \
                $(use_with !luajit lua) \
                $(use_with luajit luajit) \
-               $(use_with protobuf)
+               $(use_with protobuf) \
+               $(use_with snmp net-snmp)
 }
 
 src_install() {