summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2019-04-27 18:35:03 +0200
committerDavid Seifert <soap@gentoo.org>2019-04-27 22:27:48 +0200
commitfa508597570deec743b18a1d5d0405c1c970c222 (patch)
treed0577ba75804ddac8e45c485a2269c6965504db3 /net-vpn/openvpn/openvpn-2.4.6-r1.ebuild
parentapp-i18n/yaskkserv: [QA] Fix USE=libressl semantics (diff)
downloadgentoo-fa508597570deec743b18a1d5d0405c1c970c222.tar.gz
gentoo-fa508597570deec743b18a1d5d0405c1c970c222.tar.bz2
gentoo-fa508597570deec743b18a1d5d0405c1c970c222.zip
net-vpn/openvpn: [QA] Fix USE=libressl semantics
Closes: https://bugs.gentoo.org/683990 Package-Manager: Portage-2.3.64, Repoman-2.3.12 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-vpn/openvpn/openvpn-2.4.6-r1.ebuild')
-rw-r--r--net-vpn/openvpn/openvpn-2.4.6-r1.ebuild3
1 files changed, 1 insertions, 2 deletions
diff --git a/net-vpn/openvpn/openvpn-2.4.6-r1.ebuild b/net-vpn/openvpn/openvpn-2.4.6-r1.ebuild
index 81d3d655a383..d90a72c8b4e0 100644
--- a/net-vpn/openvpn/openvpn-2.4.6-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.6-r1.ebuild
@@ -18,7 +18,6 @@ IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam"
IUSE+=" pkcs11 +plugins selinux +ssl static systemd test userland_BSD"
REQUIRED_USE="static? ( !plugins !pkcs11 )
- mbedtls? ( ssl !libressl )
pkcs11? ( ssl )
!plugins? ( !pam !down-root )
inotify? ( plugins )"
@@ -72,9 +71,9 @@ src_configure() {
IFCONFIG=/bin/ifconfig \
ROUTE=/bin/route \
econf \
- $(usex mbedtls '--with-crypto-library=mbedtls' '') \
$(use_enable inotify async-push) \
$(use_enable ssl crypto) \
+ $(use_with ssl crypto-library $(usex mbedtls mbedtls openssl)) \
$(use_enable lz4) \
$(use_enable lzo) \
$(use_enable pkcs11) \