diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2020-05-01 15:38:14 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2020-05-01 15:38:23 +0200 |
commit | be1198700387f8c838c9cc7fa0666d6cde60ee83 (patch) | |
tree | ee467a464f9ef20cef692f4976817c37b1e348b8 /dev-libs/nettle | |
parent | dev-python/pyproj: Add := on sci-libs/proj (diff) | |
download | gentoo-be1198700387f8c838c9cc7fa0666d6cde60ee83.tar.gz gentoo-be1198700387f8c838c9cc7fa0666d6cde60ee83.tar.bz2 gentoo-be1198700387f8c838c9cc7fa0666d6cde60ee83.zip |
dev-libs/nettle: backport recent changes
- Add USE=asm
- Migrate to USE=cpu_flags_arm_neon
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-libs/nettle')
-rw-r--r-- | dev-libs/nettle/nettle-3.5.1.ebuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dev-libs/nettle/nettle-3.5.1.ebuild b/dev-libs/nettle/nettle-3.5.1.ebuild index 47028eee5626..7278d3a2cfd4 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 ~sparc ~x86 ~x64-cygwin ~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 cpu_flags_x86_sha" +IUSE="+asm doc +gmp neon static-libs test cpu_flags_x86_aes cpu_flags_arm_neon cpu_flags_x86_sha" RESTRICT="!test? ( test )" DEPEND="gmp? ( >=dev-libs/gmp-6.0:0=[static-libs?,${MULTILIB_USEDEP}] )" @@ -52,9 +52,10 @@ multilib_src_configure() { $(tc-is-static-only && echo --disable-shared) \ $(use_enable cpu_flags_x86_aes x86-aesni) \ $(use_enable cpu_flags_x86_sha x86-sha-ni) \ + $(use_enable asm assembler) $(use_enable doc documentation) \ $(use_enable gmp public-key) \ - $(use_enable neon arm-neon) \ + $(use_enable cpu_flags_arm_neon arm-neon) \ $(use_enable static-libs static) \ --disable-fat \ --disable-openssl \ |