summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-07-18 16:54:24 +0200
committerMichał Górny <mgorny@gentoo.org>2019-07-19 20:10:00 +0200
commitb849cbe2f94883b679570753863ceebd364f2be7 (patch)
tree33530e8a744844c593eb07dd0ab84f99863b288d /dev-libs
parentdev-libs/crypto++: [QA] Revert cpu_flags_x86_sha removal (diff)
downloadgentoo-b849cbe2f94883b679570753863ceebd364f2be7.tar.gz
gentoo-b849cbe2f94883b679570753863ceebd364f2be7.tar.bz2
gentoo-b849cbe2f94883b679570753863ceebd364f2be7.zip
dev-libs/nettle: [QA] Revert cpu_flags_x86_sha removal
Reverts: ebd359904856d99cbf2cbba6abc96ef183528e6f Reverts: d0c54ca151d04776d24da5ca81be96155659ce36 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/nettle/nettle-3.5.1.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-libs/nettle/nettle-3.5.1.ebuild b/dev-libs/nettle/nettle-3.5.1.ebuild
index 45fc672b7231..5bf45e8446d6 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"
+IUSE="doc +gmp neon static-libs test cpu_flags_x86_aes cpu_flags_x86_sha"
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) \
- --disable-x86-sha-ni \
+ $(use_enable cpu_flags_x86_sha x86-sha-ni) \
$(use_enable doc documentation) \
$(use_enable gmp public-key) \
$(use_enable neon arm-neon) \