net-libs/nodejs: Fix USE=-ssl (bug #615448 by Toralf Förster).
authorJeroen Roovers <jer@gentoo.org>
Tue, 21 Nov 2017 18:39:24 +0000 (19:39 +0100)
committerJeroen Roovers <jer@gentoo.org>
Tue, 21 Nov 2017 18:39:46 +0000 (19:39 +0100)
Package-Manager: Portage-2.3.14, Repoman-2.3.6

net-libs/nodejs/nodejs-8.9.1.ebuild
net-libs/nodejs/nodejs-9.2.0.ebuild

index 38c6428ce0656a407f39186594e174782c065b2b..9cc359cb23f57ecc6a06beecb1c7bc3c772a1f00 100644 (file)
@@ -18,13 +18,15 @@ SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x64-macos"
 IUSE="cpu_flags_x86_sse2 debug doc icu +npm +snapshot +ssl systemtap test"
 
-RDEPEND="icu? ( >=dev-libs/icu-56:= )
-       npm? ( ${PYTHON_DEPS} )
-       >=net-libs/http-parser-2.7.0:=
+RDEPEND="
        >=dev-libs/libuv-1.15.0:=
+       >=net-libs/http-parser-2.7.0:=
        >=net-libs/nghttp2-1.25.0
-       >=dev-libs/openssl-1.0.2g:0=[-bindist]
-       sys-libs/zlib"
+       sys-libs/zlib
+       icu? ( >=dev-libs/icu-56:= )
+       npm? ( ${PYTHON_DEPS} )
+       ssl? ( >=dev-libs/openssl-1.0.2g:0=[-bindist] )
+"
 DEPEND="${RDEPEND}
        ${PYTHON_DEPS}
        systemtap? ( dev-util/systemtap )
@@ -89,14 +91,14 @@ src_prepare() {
 }
 
 src_configure() {
-       local myarch=""
-       local myconf=( --shared-http-parser --shared-libuv --shared-nghttp2 --shared-openssl --shared-zlib )
-       use npm || myconf+=( --without-npm )
+       local myconf=( --shared-http-parser --shared-libuv --shared-nghttp2 --shared-zlib )
+       use debug && myconf+=( --debug )
        use icu && myconf+=( --with-intl=system-icu ) || myconf+=( --with-intl=none )
+       use npm || myconf+=( --without-npm )
        use snapshot && myconf+=( --with-snapshot )
-       use ssl || myconf+=( --without-ssl )
-       use debug && myconf+=( --debug )
+       use ssl && myconf+=( --shared-openssl ) || myconf+=( --without-ssl )
 
+       local myarch=""
        case ${ABI} in
                amd64) myarch="x64";;
                arm) myarch="arm";;
index aaab3c90a4b0737c33490f9a97f4e0d13c6690b0..d430a7b0cef223287eaab71a75a8d47645691698 100644 (file)
@@ -18,13 +18,15 @@ SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x64-macos"
 IUSE="cpu_flags_x86_sse2 debug doc icu +npm +snapshot +ssl systemtap test"
 
-RDEPEND="icu? ( >=dev-libs/icu-59:= )
-       npm? ( ${PYTHON_DEPS} )
-       >=net-libs/http-parser-2.7.0:=
+RDEPEND="
        >=dev-libs/libuv-1.16.1:=
+       >=net-libs/http-parser-2.7.0:=
        >=net-libs/nghttp2-1.25.0
-       >=dev-libs/openssl-1.0.2g:0=[-bindist]
-       sys-libs/zlib"
+       sys-libs/zlib
+       icu? ( >=dev-libs/icu-59:= )
+       npm? ( ${PYTHON_DEPS} )
+       ssl? ( >=dev-libs/openssl-1.0.2g:0=[-bindist] )
+"
 DEPEND="${RDEPEND}
        ${PYTHON_DEPS}
        systemtap? ( dev-util/systemtap )
@@ -89,14 +91,14 @@ src_prepare() {
 }
 
 src_configure() {
-       local myarch=""
-       local myconf=( --shared-http-parser --shared-libuv --shared-nghttp2 --shared-openssl --shared-zlib )
-       use npm || myconf+=( --without-npm )
+       local myconf=( --shared-http-parser --shared-libuv --shared-nghttp2 --shared-zlib )
+       use debug && myconf+=( --debug )
        use icu && myconf+=( --with-intl=system-icu ) || myconf+=( --with-intl=none )
+       use npm || myconf+=( --without-npm )
        use snapshot && myconf+=( --with-snapshot )
-       use ssl || myconf+=( --without-ssl )
-       use debug && myconf+=( --debug )
+       use ssl && myconf+=( --shared-openssl ) || myconf+=( --without-ssl )
 
+       local myarch=""
        case ${ABI} in
                amd64) myarch="x64";;
                arm) myarch="arm";;