dev-libs/opencryptoki: add libressl support
authorAnthony G. Basile <blueness@gentoo.org>
Sat, 25 Jun 2016 23:58:15 +0000 (19:58 -0400)
committerAnthony G. Basile <blueness@gentoo.org>
Sat, 25 Jun 2016 23:58:15 +0000 (19:58 -0400)
Package-Manager: portage-2.2.28

dev-libs/opencryptoki/opencryptoki-3.4.1.ebuild

index ff61dcb9a7b06baf305de646467ad2adf586f1a3..53c8192450aed6f7690d1796fccc9d84fb1b6aef 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -15,13 +15,13 @@ SRC_URI="mirror://sourceforge/opencryptoki/${PV}/${PN}-v${PV}.tgz"
 LICENSE="CPL-0.5"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~x86"
+IUSE="debug libressl +tpm"
 
 RDEPEND="tpm? ( app-crypt/trousers )
-                dev-libs/openssl:*"
+       !libressl? ( dev-libs/openssl:0= )
+       libressl? ( dev-libs/libressl:0= )"
 DEPEND="${RDEPEND}"
 
-IUSE="+tpm debug"
-
 S="${WORKDIR}/${PN}"
 
 # tests right now basically don't exist; the only available thing would