Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-vpn/i2pd/
Date: Sat, 08 Sep 2018 14:41:46
Message-Id: 1536417618.4ff0bb199ba902d5fd730b1c8854294bf1dd22d6.blueness@gentoo
1 commit: 4ff0bb199ba902d5fd730b1c8854294bf1dd22d6
2 Author: Alexey Korepanov <kaikaikai <AT> yandex <DOT> ru>
3 AuthorDate: Mon Aug 27 21:18:55 2018 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 8 14:40:18 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ff0bb19
7
8 net-vpn/i2pd: support compilation with avx
9
10 net-vpn/i2pd/i2pd-2.20.0.ebuild | 3 ++-
11 1 file changed, 2 insertions(+), 1 deletion(-)
12
13 diff --git a/net-vpn/i2pd/i2pd-2.20.0.ebuild b/net-vpn/i2pd/i2pd-2.20.0.ebuild
14 index 454dd172bd2..6e3dffbd6c1 100644
15 --- a/net-vpn/i2pd/i2pd-2.20.0.ebuild
16 +++ b/net-vpn/i2pd/i2pd-2.20.0.ebuild
17 @@ -10,7 +10,7 @@ SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
18 LICENSE="BSD"
19 SLOT="0"
20 KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86"
21 -IUSE="cpu_flags_x86_aes i2p-hardening libressl static +upnp websocket"
22 +IUSE="cpu_flags_x86_aes cpu_flags_x86_avx i2p-hardening libressl static +upnp websocket"
23
24 # if using libressl, require >=boost-1.65, see #597798
25 RDEPEND="!static? ( dev-libs/boost[threads]
26 @@ -51,6 +51,7 @@ pkg_pretend() {
27 src_configure() {
28 mycmakeargs=(
29 -DWITH_AESNI=$(usex cpu_flags_x86_aes ON OFF)
30 + -DWITH_AVX=$(usex cpu_flags_x86_avx ON OFF)
31 -DWITH_HARDENING=$(usex i2p-hardening ON OFF)
32 -DWITH_PCH=OFF
33 -DWITH_STATIC=$(usex static ON OFF)