summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2017-01-04 14:28:21 +0000
committerAnthony G. Basile <blueness@gentoo.org>2017-01-05 09:07:53 -0500
commit85bf53f42339d1d6ddcc06028d59ec36ab32aa3f (patch)
tree3d00b590720ee028a9eab2f4b566a1ab65fa0b80 /dev-libs/libsecp256k1/libsecp256k1-9999.ebuild
parentBitcoin 0.13.2 (diff)
downloadgentoo-85bf53f42339d1d6ddcc06028d59ec36ab32aa3f.tar.gz
gentoo-85bf53f42339d1d6ddcc06028d59ec36ab32aa3f.tar.bz2
gentoo-85bf53f42339d1d6ddcc06028d59ec36ab32aa3f.zip
dev-libs/libsecp256k1: Implement suggestions re asm & doc USE flags, and gmp dependency
- asm USE flag is masked on unsupported architectures. - asm USE flag is enabled by default on supported architectures. - gmp dependency indicates package breaks if the subslot changes. - New versions only: README.md is now installed without the doc USE flag (which is removed).
Diffstat (limited to 'dev-libs/libsecp256k1/libsecp256k1-9999.ebuild')
-rw-r--r--dev-libs/libsecp256k1/libsecp256k1-9999.ebuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/dev-libs/libsecp256k1/libsecp256k1-9999.ebuild b/dev-libs/libsecp256k1/libsecp256k1-9999.ebuild
index fa2726044e8..0eebe3c7847 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 java +recovery test test_openssl"
+IUSE="+asm ecdh endomorphism experimental gmp java +recovery test test_openssl"
REQUIRED_USE="
asm? ( || ( amd64 arm ) arm? ( experimental ) )
@@ -23,7 +23,7 @@ REQUIRED_USE="
test_openssl? ( test )
"
RDEPEND="
- gmp? ( dev-libs/gmp:0 )
+ gmp? ( dev-libs/gmp:0= )
"
DEPEND="${RDEPEND}
virtual/pkgconfig
@@ -61,10 +61,7 @@ src_configure() {
}
src_install() {
- if use doc; then
- dodoc README.md
- fi
-
+ dodoc README.md
emake DESTDIR="${D}" install
prune_libtool_files
}