app-crypt/tpm-emulator: add libressl support
authorAnthony G. Basile <blueness@gentoo.org>
Fri, 3 Jun 2016 14:48:28 +0000 (10:48 -0400)
committerAnthony G. Basile <blueness@gentoo.org>
Fri, 3 Jun 2016 14:48:28 +0000 (10:48 -0400)
Package-Manager: portage-2.2.28

app-crypt/tpm-emulator/tpm-emulator-0.7.4-r1.ebuild

index 3b6d47bba1c3ea18ac8e5a522a9017d3eab12072..e489b6b9c940c3852082d307d8518cc6ef5fb7a1 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$
 
@@ -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 )"