net-dns/dnssec-validator: USE=ecdsa-check to work with openssl[bindist], thanks Toral...
authorMichael Weber <xmw@gentoo.org>
Mon, 18 Dec 2017 09:06:18 +0000 (10:06 +0100)
committerMichael Weber <xmw@gentoo.org>
Mon, 18 Dec 2017 09:06:32 +0000 (10:06 +0100)
Closes: https://bugs.gentoo.org/529170
Package-Manager: Portage-2.3.19, Repoman-2.3.6

net-dns/dnssec-validator/dnssec-validator-2.2-r1.ebuild
net-dns/dnssec-validator/metadata.xml

index 276cf1a05974e51ce589bc069378156150196b97..7830c98a5d5b1fd577330700a1bf196f32842eda 100644 (file)
@@ -12,9 +12,10 @@ SRC_URI="http://www.dnssec-tools.org/download/dnsval-${PV}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~x86"
-IUSE="ipv6 static-libs +threads"
+IUSE="ipv6 static-libs +threads +ecdsa-check"
 
 RDEPEND="dev-libs/openssl:0
+       ecdsa-check? ( dev-libs/openssl:0[-bindist] )
        !<net-dns/dnssec-tools-1.13"
 DEPEND="${RDEPEND}"
 
@@ -28,7 +29,8 @@ src_configure() {
                --with-nsec3 \
                --with-dlv \
                $(use_with ipv6) \
-               $(use_with threads)
+               $(use_with threads) \
+               $(use_enable ecdsa-check)
 }
 
 src_install() {
index a535b885282995f1c24e0f2a2295643a3d99c0f5..6f3178436bbc13058e1abe030ee45243605e26e4 100644 (file)
@@ -5,4 +5,7 @@
 <email>xmw@gentoo.org</email>
 <name>Michael Weber</name>
 </maintainer>
+<use>
+       <flag name="ecdsa-check">Requires openssl[-bindist]</flag>
+</use>
 </pkgmetadata>