commit:     b849cbe2f94883b679570753863ceebd364f2be7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 18 14:54:24 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jul 19 18:10:00 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b849cbe2

dev-libs/nettle: [QA] Revert cpu_flags_x86_sha removal

Reverts: ebd359904856d99cbf2cbba6abc96ef183528e6f
Reverts: d0c54ca151d04776d24da5ca81be96155659ce36
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-libs/nettle/nettle-3.5.1.ebuild | 4 ++--
 1 file 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 45fc672b723..5bf45e8446d 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) \

Reply via email to