dev-libs/softhsm: disable ghost for libressl
authorAlon Bar-Lev <alonbl@gentoo.org>
Fri, 27 Jan 2017 18:21:25 +0000 (20:21 +0200)
committerAlon Bar-Lev <alonbl@gentoo.org>
Fri, 27 Jan 2017 18:21:41 +0000 (20:21 +0200)
disable ecc for bindist

Bug: 607416

Package-Manager: portage-2.3.3

dev-libs/softhsm/softhsm-2.2.0-r1.ebuild

index 0b92129ab7a55340e4e30558b08bc28340f97500..8a91277ac0967bc6dc31118b50755b1ca4f6895e 100644 (file)
@@ -11,14 +11,14 @@ HOMEPAGE="http://www.opendnssec.org/"
 SRC_URI="http://www.opendnssec.org/files/source/${P}.tar.gz"
 
 KEYWORDS="~amd64 ~hppa ~x86"
-IUSE="libressl +migration-tool test"
+IUSE="bindist libressl +migration-tool test"
 SLOT="2"
 LICENSE="BSD"
 
 RDEPEND="
        sys-devel/gcc:=[cxx]
        dev-db/sqlite:3
-       !libressl? ( dev-libs/openssl:= )
+       !libressl? ( dev-libs/openssl:=[bindist=] )
        libressl? ( dev-libs/libressl )
        !=dev-libs/softhsm-2.0.0:0
 "
@@ -42,6 +42,8 @@ src_configure() {
                --disable-static \
                --with-crypto-backend=openssl \
                --disable-p11-kit \
+               $(use_enable bindist ecc) \
+               $(use libressl && echo --disable-ghost) \
                $(use_with migration-tool migrate)
 }