app-crypt/gnupg-pkcs11-scd: add libressl support
authorAnthony G. Basile <blueness@gentoo.org>
Fri, 3 Jun 2016 09:06:54 +0000 (05:06 -0400)
committerAnthony G. Basile <blueness@gentoo.org>
Fri, 3 Jun 2016 09:06:54 +0000 (05:06 -0400)
Package-Manager: portage-2.2.28

app-crypt/gnupg-pkcs11-scd/gnupg-pkcs11-scd-0.7.3.ebuild

index 4c4093e2b1f8d11cb2f53f453c98a621a3829cf8..5c4a028e3dafb35363c1548d29880b21e32abc6a 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"
 
 DESCRIPTION="PKCS#11 support for GnuPG"
 HOMEPAGE="http://gnupg-pkcs11.sourceforge.net"
@@ -11,12 +11,14 @@ SRC_URI="mirror://sourceforge/gnupg-pkcs11/${P}.tar.bz2"
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="libressl"
 
-RDEPEND="=dev-libs/libassuan-2*
+RDEPEND="
+       !libressl? ( dev-libs/openssl:0= )
+       libressl? ( dev-libs/libressl:0= )
+       =dev-libs/libassuan-2*
        >=dev-libs/libgcrypt-1.2.2:0
        >=dev-libs/libgpg-error-1.3
-       >=dev-libs/openssl-0.9.7
        >=dev-libs/pkcs11-helper-1.02"
 DEPEND="${RDEPEND}
        virtual/pkgconfig"