commit:     0b0ad4b9493c035ae0e4f0cec56d5189176e01bd
Author:     Sven Wegener <swegener <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 30 18:26:03 2017 +0000
Commit:     Sven Wegener <swegener <AT> gentoo <DOT> org>
CommitDate: Thu Nov 30 19:05:44 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b0ad4b9

net-dns/pdns-recursor: Add snmp USE flag, bug #639018

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 | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/net-dns/pdns-recursor/pdns-recursor-4.1.0_rc3-r1.ebuild 
b/net-dns/pdns-recursor/pdns-recursor-4.1.0_rc3-r1.ebuild
index 2e5354ed116..224ae2f7537 100644
--- a/net-dns/pdns-recursor/pdns-recursor-4.1.0_rc3-r1.ebuild
+++ b/net-dns/pdns-recursor/pdns-recursor-4.1.0_rc3-r1.ebuild
@@ -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() {

Reply via email to