dev-libs/opencryptoki: fix libressl support
authorStefan Strogin <stefan.strogin@gmail.com>
Thu, 14 Feb 2019 03:36:54 +0000 (05:36 +0200)
committerAlon Bar-Lev <alonbl@gentoo.org>
Sat, 16 Feb 2019 18:18:42 +0000 (20:18 +0200)
Closes: https://bugs.gentoo.org/587970
Closes: https://github.com/gentoo/gentoo/pull/11044
Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Stefan Strogin <stefan.strogin@gmail.com>
Signed-off-by: Alon Bar-Lev <alonbl@gentoo.org>
dev-libs/opencryptoki/opencryptoki-3.6.1.ebuild

index c07161fde52a60e1c83db5bea6dbce2efe960358..3b129d8ab795e2cf884736b369ab96113b5caa60 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -17,7 +17,8 @@ KEYWORDS="~amd64 ~arm ~s390 ~x86"
 IUSE="debug libressl +tpm"
 
 RDEPEND="tpm? ( app-crypt/trousers )
-       >=dev-libs/openssl-1.1.0:0="
+       !libressl? ( >=dev-libs/openssl-1.1.0:0= )
+       libressl? ( >=dev-libs/libressl-2.7.0:0= )"
 DEPEND="${RDEPEND}"
 
 DOCS=(