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

app-crypt/sbsigntool/sbsigntool-0.6-r1.ebuild

index cc49b5b2dc65afc61e6ff1423e428a5b67fed078..cbb72cffde8ec9024e5d6f088f0b8b8e33c3c1bc 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="4"
+EAPI="5"
 
 inherit eutils toolchain-funcs
 
@@ -13,9 +13,11 @@ SRC_URI="https://launchpad.net/ubuntu/+archive/primary/+files/${PN}_${PV}.orig.t
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="amd64 x86"
-IUSE=""
+IUSE="libressl"
 
-RDEPEND="dev-libs/openssl
+RDEPEND="
+       !libressl? ( dev-libs/openssl:0= )
+       libressl? ( dev-libs/libressl:0= )
        sys-apps/util-linux"
 DEPEND="${RDEPEND}
        sys-apps/help2man