commit:     235f9534d5f6571fd67de7ec7410eb206dacf14c
Author:     Quentin Retornaz <caseoffr <AT> outlook <DOT> com>
AuthorDate: Thu Apr 19 12:49:01 2018 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Fri Apr 20 10:41:50 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=235f9534

net-dns/getdns: add dev-libs/libbsd sys-libs/libcap dependencies and 
static-libs use flag

 net-dns/getdns/getdns-1.4.1.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/net-dns/getdns/getdns-1.4.1.ebuild 
b/net-dns/getdns/getdns-1.4.1.ebuild
index 13ab6bc3b15..699abdbc82f 100644
--- a/net-dns/getdns/getdns-1.4.1.ebuild
+++ b/net-dns/getdns/getdns-1.4.1.ebuild
@@ -12,9 +12,10 @@ 
SRC_URI="https://getdnsapi.net/releases/${P//./-}/${P}.tar.gz";
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="stubby +getdns_query +getdns_server_mon libressl +idn +unbound libevent 
libev libuv +threads"
+IUSE="stubby +getdns_query +getdns_server_mon libressl +idn +unbound libevent 
libev libuv +threads static-libs"
 
 DEPEND="
+       dev-libs/libbsd:=
        dev-libs/libyaml:=
        !libressl? ( dev-libs/openssl:0= )
        libressl? ( dev-libs/libressl:0= )
@@ -24,7 +25,10 @@ DEPEND="
        libev? ( dev-libs/libev:= )
        libuv? ( dev-libs/libuv:= )
 "
-RDEPEND="${DEPEND}"
+RDEPEND="
+       ${DEPEND}
+       stubby? ( sys-libs/libcap:= )
+"
 
 src_configure() {
        econf \
@@ -40,6 +44,7 @@ src_configure() {
                $(use_with libev) \
                $(use_with libuv) \
                $(use_with threads libpthread)
+               $(use_enable static-libs static)
 }
 
 src_install() {

Reply via email to