diff options
author | Alexey Korepanov <kaikaikai@yandex.ru> | 2017-10-10 15:38:06 +0100 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2017-10-10 14:30:11 -0400 |
commit | 6713a76e8524ddb3bb564bec9834de07652920b9 (patch) | |
tree | f6d6a062d1f9285c7ffd57ab03f9735b1e1a679e /net-vpn/i2pd/i2pd-2.14.0.ebuild | |
parent | net-vpn/i2pd: fix build with libressl #597798 (diff) | |
download | gentoo-6713a76e8524ddb3bb564bec9834de07652920b9.tar.gz gentoo-6713a76e8524ddb3bb564bec9834de07652920b9.tar.bz2 gentoo-6713a76e8524ddb3bb564bec9834de07652920b9.zip |
net-vpn/i2pd: fix dependencies
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'net-vpn/i2pd/i2pd-2.14.0.ebuild')
-rw-r--r-- | net-vpn/i2pd/i2pd-2.14.0.ebuild | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/net-vpn/i2pd/i2pd-2.14.0.ebuild b/net-vpn/i2pd/i2pd-2.14.0.ebuild index 8c20134989f9..de35d0cc72b1 100644 --- a/net-vpn/i2pd/i2pd-2.14.0.ebuild +++ b/net-vpn/i2pd/i2pd-2.14.0.ebuild @@ -10,19 +10,24 @@ SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~arm ~x86" -IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp" +IUSE="cpu_flags_x86_aes i2p-hardening libressl static +upnp websocket" # if using libressl, require >=boost-1.65, see #597798 RDEPEND="!static? ( dev-libs/boost[threads] !libressl? ( dev-libs/openssl:0[-bindist] ) - libressl? ( dev-libs/libressl >=dev-libs/boost-1.65 ) + libressl? ( dev-libs/libressl:0 + >=dev-libs/boost-1.65 ) + sys-libs/zlib upnp? ( net-libs/miniupnpc ) )" DEPEND="${RDEPEND} static? ( dev-libs/boost[static-libs,threads] !libressl? ( dev-libs/openssl:0[static-libs] ) - libressl? ( dev-libs/libressl[static-libs] >=dev-libs/boost-1.65 ) + libressl? ( dev-libs/libressl:0[static-libs] + >=dev-libs/boost-1.65 ) + sys-libs/zlib[static-libs] upnp? ( net-libs/miniupnpc[static-libs] ) ) + websocket? ( dev-cpp/websocketpp ) i2p-hardening? ( >=sys-devel/gcc-4.7 ) || ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 )" @@ -39,9 +44,10 @@ src_configure() { mycmakeargs=( -DWITH_AESNI=$(usex cpu_flags_x86_aes ON OFF) -DWITH_HARDENING=$(usex i2p-hardening ON OFF) - -DWITH_PCH=$(usex pch ON OFF) + -DWITH_PCH=OFF -DWITH_STATIC=$(usex static ON OFF) -DWITH_UPNP=$(usex upnp ON OFF) + -DWITH_WEBSOCKETS=$(usex websocket ON OFF) -DWITH_LIBRARY=ON -DWITH_BINARY=ON ) |