app-crypt/openssl-tpm-engine: add libressl support
authorAnthony G. Basile <blueness@gentoo.org>
Fri, 3 Jun 2016 13:55:13 +0000 (09:55 -0400)
committerAnthony G. Basile <blueness@gentoo.org>
Fri, 3 Jun 2016 14:07:43 +0000 (10:07 -0400)
Package-Manager: portage-2.2.28

app-crypt/openssl-tpm-engine/openssl-tpm-engine-0.4.2.ebuild

index 6f99d19ef349cfe34fef46fcb7bdc3ddca57eb03..9539e900227a45765748c463a6291959d669428c 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$
 
@@ -13,9 +13,11 @@ HOMEPAGE="http://trousers.sourceforge.net"
 SRC_URI="mirror://sourceforge/trousers/${MY_P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~x86 ~amd64"
-IUSE=""
-RDEPEND=">=dev-libs/openssl-0.9.8:*
+KEYWORDS="~amd64 ~x86"
+IUSE="libressl"
+RDEPEND="
+       !libressl? ( dev-libs/openssl:0= )
+       libressl? ( dev-libs/libressl:0= )
        >=app-crypt/trousers-0.2.8"
 DEPEND="${RDEPEND}"