commit:     0e9417f4c8e15de78c8156d7d223260492d8b768
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Fri Jun  3 14:48:28 2016 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Fri Jun  3 14:48:28 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e9417f4

app-crypt/tpm-emulator: add libressl support

Package-Manager: portage-2.2.28

 app-crypt/tpm-emulator/tpm-emulator-0.7.4-r1.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/app-crypt/tpm-emulator/tpm-emulator-0.7.4-r1.ebuild 
b/app-crypt/tpm-emulator/tpm-emulator-0.7.4-r1.ebuild
index 3b6d47b..e489b6b 100644
--- a/app-crypt/tpm-emulator/tpm-emulator-0.7.4-r1.ebuild
+++ b/app-crypt/tpm-emulator/tpm-emulator-0.7.4-r1.ebuild
@@ -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$
 
@@ -14,8 +14,11 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
-IUSE="ssl modules"
-RDEPEND="ssl? ( dev-libs/openssl )"
+IUSE="libressl ssl modules"
+RDEPEND="ssl? (
+               !libressl? ( dev-libs/openssl:0= )
+               libressl? ( dev-libs/libressl:0= )
+       )"
 DEPEND="${RDEPEND}
        !ssl? ( dev-libs/gmp )"
 

Reply via email to