Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/nettle/
Date: Fri, 01 May 2020 13:38:33
Message-Id: 1588340303.be1198700387f8c838c9cc7fa0666d6cde60ee83.whissi@gentoo
1 commit: be1198700387f8c838c9cc7fa0666d6cde60ee83
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 1 13:38:14 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Fri May 1 13:38:23 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be119870
7
8 dev-libs/nettle: backport recent changes
9
10 - Add USE=asm
11
12 - Migrate to USE=cpu_flags_arm_neon
13
14 Package-Manager: Portage-2.3.99, Repoman-2.3.22
15 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
16
17 dev-libs/nettle/nettle-3.5.1.ebuild | 5 +++--
18 1 file changed, 3 insertions(+), 2 deletions(-)
19
20 diff --git a/dev-libs/nettle/nettle-3.5.1.ebuild b/dev-libs/nettle/nettle-3.5.1.ebuild
21 index 47028eee562..7278d3a2cfd 100644
22 --- a/dev-libs/nettle/nettle-3.5.1.ebuild
23 +++ b/dev-libs/nettle/nettle-3.5.1.ebuild
24 @@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
25 LICENSE="|| ( LGPL-3 LGPL-2.1 )"
26 SLOT="0/7" # subslot = libnettle soname version
27 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
28 -IUSE="doc +gmp neon static-libs test cpu_flags_x86_aes cpu_flags_x86_sha"
29 +IUSE="+asm doc +gmp neon static-libs test cpu_flags_x86_aes cpu_flags_arm_neon cpu_flags_x86_sha"
30 RESTRICT="!test? ( test )"
31
32 DEPEND="gmp? ( >=dev-libs/gmp-6.0:0=[static-libs?,${MULTILIB_USEDEP}] )"
33 @@ -52,9 +52,10 @@ multilib_src_configure() {
34 $(tc-is-static-only && echo --disable-shared) \
35 $(use_enable cpu_flags_x86_aes x86-aesni) \
36 $(use_enable cpu_flags_x86_sha x86-sha-ni) \
37 + $(use_enable asm assembler)
38 $(use_enable doc documentation) \
39 $(use_enable gmp public-key) \
40 - $(use_enable neon arm-neon) \
41 + $(use_enable cpu_flags_arm_neon arm-neon) \
42 $(use_enable static-libs static) \
43 --disable-fat \
44 --disable-openssl \