summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2016-06-25 19:29:49 -0400
committerAnthony G. Basile <blueness@gentoo.org>2016-06-25 19:29:49 -0400
commitdbaba6cc854a5920b876982afcca61b45684837f (patch)
tree93c29efbb732c270dfdcde2124add1fdb179a70a /dev-libs
parentdev-libs/libp11: add libressl support (diff)
downloadgentoo-dbaba6cc854a5920b876982afcca61b45684837f.tar.gz
gentoo-dbaba6cc854a5920b876982afcca61b45684837f.tar.bz2
gentoo-dbaba6cc854a5920b876982afcca61b45684837f.zip
dev-libs/libsecp256k1: add libressl support
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20150423.ebuild9
-rw-r--r--dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20151118.ebuild7
-rw-r--r--dev-libs/libsecp256k1/libsecp256k1-9999.ebuild7
3 files changed, 16 insertions, 7 deletions
diff --git a/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20150423.ebuild b/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20150423.ebuild
index 2024528ff0f3..b0307ce01edb 100644
--- a/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20150423.ebuild
+++ b/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20150423.ebuild
@@ -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$
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/bitcoin/${MyPN}/archive/${COMMITHASH}.tar.gz -> ${My
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~x86 ~amd64-linux ~x86-linux"
-IUSE="asm doc endomorphism gmp test"
+IUSE="asm doc endomorphism gmp libressl test"
REQUIRED_USE="
asm? ( amd64 )
@@ -25,7 +25,10 @@ RDEPEND="
"
DEPEND="${RDEPEND}
virtual/pkgconfig
- test? ( dev-libs/openssl:0 )
+ test? (
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ )
"
S="${WORKDIR}/${MyPN}-${COMMITHASH}"
diff --git a/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20151118.ebuild b/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20151118.ebuild
index 133da8bb8752..5cd073732cd4 100644
--- a/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20151118.ebuild
+++ b/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20151118.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/bitcoin/${MyPN}/archive/${COMMITHASH}.tar.gz -> ${My
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~x86 ~amd64-linux ~x86-linux"
-IUSE="asm doc ecdh endomorphism experimental gmp +recovery schnorr test"
+IUSE="asm doc ecdh endomorphism experimental gmp libressl +recovery schnorr test"
REQUIRED_USE="
asm? ( amd64 )
@@ -27,7 +27,10 @@ RDEPEND="
"
DEPEND="${RDEPEND}
virtual/pkgconfig
- test? ( dev-libs/openssl:0 )
+ test? (
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ )
"
S="${WORKDIR}/${MyPN}-${COMMITHASH}"
diff --git a/dev-libs/libsecp256k1/libsecp256k1-9999.ebuild b/dev-libs/libsecp256k1/libsecp256k1-9999.ebuild
index 9a1a1de7de33..cd430a4deb36 100644
--- a/dev-libs/libsecp256k1/libsecp256k1-9999.ebuild
+++ b/dev-libs/libsecp256k1/libsecp256k1-9999.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="https://github.com/bitcoin/${MyPN}"
LICENSE="MIT"
SLOT="0"
KEYWORDS=""
-IUSE="asm doc ecdh endomorphism experimental gmp +recovery schnorr test"
+IUSE="asm doc ecdh endomorphism experimental gmp libressl +recovery schnorr test"
REQUIRED_USE="
asm? ( amd64 )
@@ -26,7 +26,10 @@ RDEPEND="
"
DEPEND="${RDEPEND}
virtual/pkgconfig
- test? ( dev-libs/openssl:0 )
+ test? (
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ )
"
src_prepare() {