dev-libs/softhsm: improve use_enable usage
authorAlon Bar-Lev <alonbl@gentoo.org>
Sat, 4 Feb 2017 21:07:49 +0000 (23:07 +0200)
committerAlon Bar-Lev <alonbl@gentoo.org>
Sat, 4 Feb 2017 21:40:21 +0000 (23:40 +0200)
Package-Manager: portage-2.3.3

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

index 6dad3b0746238de3da6839db53dacd65eb0fbc7c..c5bccd7825a90fa9e8cfc4eec87579be8a425efc 100644 (file)
@@ -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)
 }