app-crypt/sign: add libressl support
authorAnthony G. Basile <blueness@gentoo.org>
Fri, 3 Jun 2016 14:20:41 +0000 (10:20 -0400)
committerAnthony G. Basile <blueness@gentoo.org>
Fri, 3 Jun 2016 14:21:06 +0000 (10:21 -0400)
Package-Manager: portage-2.2.28

app-crypt/sign/sign-1.0.7.ebuild

index 3277e9e9ba25c22ad0ae6639e17f8391cc87c9d3..dd59e5d0f64f6a80fa812c4ed87172eeda7dbe99 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=4
+EAPI=5
 
 inherit toolchain-funcs eutils
 
@@ -13,9 +13,11 @@ SRC_URI="http://swapped.cc/${PN}/files/${P}.tar.gz"
 LICENSE="BZIP2"
 SLOT="0"
 KEYWORDS="amd64 ppc x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE=""
+IUSE="libressl"
 
-RDEPEND=">=dev-libs/openssl-0.9.8"
+RDEPEND="
+       !libressl? ( dev-libs/openssl:0= )
+       libressl? ( dev-libs/libressl:0= )"
 DEPEND="${RDEPEND}"
 
 src_prepare() {