commit:     7e75de00aef9af5dd25725d761bf791c12a64e5f
Author:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 27 18:21:25 2017 +0000
Commit:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Fri Jan 27 18:21:41 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e75de00

dev-libs/softhsm: disable ghost for libressl

disable ecc for bindist

Bug: 607416

Package-Manager: portage-2.3.3

 dev-libs/softhsm/softhsm-2.2.0-r1.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-libs/softhsm/softhsm-2.2.0-r1.ebuild 
b/dev-libs/softhsm/softhsm-2.2.0-r1.ebuild
index 0b92129..8a91277 100644
--- a/dev-libs/softhsm/softhsm-2.2.0-r1.ebuild
+++ b/dev-libs/softhsm/softhsm-2.2.0-r1.ebuild
@@ -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)
 }
 

Reply via email to