app-emulation/lxc: add USE=libressl
authorStefan Strogin <steils@gentoo.org>
Tue, 19 May 2020 15:26:10 +0000 (18:26 +0300)
committerStefan Strogin <steils@gentoo.org>
Tue, 19 May 2020 15:26:10 +0000 (18:26 +0300)
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Stefan Strogin <steils@gentoo.org>
app-emulation/lxc/lxc-4.0.2-r1.ebuild

index f752ea7dc38439dfc405e995691f237e0dc862e6..e09aa6bc06f3fe0ac087db80c9f155aae26c18c7 100644 (file)
@@ -13,7 +13,7 @@ KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
 
 LICENSE="LGPL-3"
 SLOT="0"
-IUSE="apparmor +caps doc examples pam seccomp selinux +ssl +templates +tools"
+IUSE="apparmor +caps doc examples libressl pam seccomp selinux +ssl +templates +tools"
 
 RDEPEND="app-misc/pax-utils
        net-libs/gnutls
@@ -24,7 +24,10 @@ RDEPEND="app-misc/pax-utils
        pam? ( sys-libs/pam )
        seccomp? ( sys-libs/libseccomp )
        selinux? ( sys-libs/libselinux )
-       ssl? ( dev-libs/openssl:0= )"
+       ssl? (
+               !libressl? ( dev-libs/openssl:0= )
+               libressl? ( dev-libs/libressl:0= )
+       )"
 DEPEND="${RDEPEND}
        >=app-text/docbook-sgml-utils-0.6.14-r2
        >=sys-kernel/linux-headers-3.2