commit:     843d98b00de4ba61fba666af1e78bc01b5b5deb9
Author:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  4 21:07:49 2017 +0000
Commit:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Sat Feb  4 21:40:21 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=843d98b0

dev-libs/softhsm: improve use_enable usage

Package-Manager: portage-2.3.3

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

diff --git a/dev-libs/softhsm/softhsm-2.2.0-r2.ebuild 
b/dev-libs/softhsm/softhsm-2.2.0-r2.ebuild
index 6dad3b0..c5bccd7 100644
--- a/dev-libs/softhsm/softhsm-2.2.0-r2.ebuild
+++ b/dev-libs/softhsm/softhsm-2.2.0-r2.ebuild
@@ -43,8 +43,8 @@ src_configure() {
                --disable-static \
                --with-crypto-backend=openssl \
                --disable-p11-kit \
-               $(use bindist && echo --disable-ecc || echo --enable-ecc) \
-               $(use libressl && echo --disable-gost || echo --enable-gost) \
+               $(use_enable !bindist ecc) \
+               $(use_enable !libressl ghost) \
                $(use_with migration-tool migrate)
 }
 

Reply via email to