summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2019-07-08 16:38:49 +0300
committerAlon Bar-Lev <alonbl@gentoo.org>2019-07-08 16:42:49 +0300
commitebd359904856d99cbf2cbba6abc96ef183528e6f (patch)
treeed31aa1f09a87138b5e1bd7c2c6b512d58005a59 /dev-libs/nettle
parentdev-libs/nettle: USE cpu_flags_x86_sha->preview-cpu_flags_x86_sha (diff)
downloadgentoo-ebd359904856d99cbf2cbba6abc96ef183528e6f.tar.gz
gentoo-ebd359904856d99cbf2cbba6abc96ef183528e6f.tar.bz2
gentoo-ebd359904856d99cbf2cbba6abc96ef183528e6f.zip
dev-libs/nettle: remove preview-cpu_flags_x86_sha
Bug: https://bugs.gentoo.org/show_bug.cgi?id=688858 Signed-off-by: Alon Bar-Lev <alonbl@gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11
Diffstat (limited to 'dev-libs/nettle')
-rw-r--r--dev-libs/nettle/metadata.xml3
-rw-r--r--dev-libs/nettle/nettle-3.5.1.ebuild4
2 files changed, 2 insertions, 5 deletions
diff --git a/dev-libs/nettle/metadata.xml b/dev-libs/nettle/metadata.xml
index 2afa9cc06f24..040cba5f7c5b 100644
--- a/dev-libs/nettle/metadata.xml
+++ b/dev-libs/nettle/metadata.xml
@@ -5,7 +5,4 @@
<email>crypto@gentoo.org</email>
<name>Crypto</name>
</maintainer>
- <use>
- <flag name="preview-cpu_flags_x86_sha">Enable support for Intel's SHA instruction set (SHA-NI)</flag>
- </use>
</pkgmetadata>
diff --git a/dev-libs/nettle/nettle-3.5.1.ebuild b/dev-libs/nettle/nettle-3.5.1.ebuild
index 75245bd15cd7..45fc672b7231 100644
--- a/dev-libs/nettle/nettle-3.5.1.ebuild
+++ b/dev-libs/nettle/nettle-3.5.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
LICENSE="|| ( LGPL-3 LGPL-2.1 )"
SLOT="0/7" # subslot = libnettle soname version
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="doc +gmp neon static-libs test cpu_flags_x86_aes preview-cpu_flags_x86_sha"
+IUSE="doc +gmp neon static-libs test cpu_flags_x86_aes"
DEPEND="gmp? ( >=dev-libs/gmp-6.0:0=[static-libs?,${MULTILIB_USEDEP}] )"
RDEPEND="${DEPEND}"
@@ -50,7 +50,7 @@ multilib_src_configure() {
ECONF_SOURCE="${S}" econf \
$(tc-is-static-only && echo --disable-shared) \
$(use_enable cpu_flags_x86_aes x86-aesni) \
- $(use_enable preview-cpu_flags_x86_sha x86-sha-ni) \
+ --disable-x86-sha-ni \
$(use_enable doc documentation) \
$(use_enable gmp public-key) \
$(use_enable neon arm-neon) \