net-libs/nodejs: Call xdg_environment_reset() from xdg-utils.eclass

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Bug: https://bugs.gentoo.org/625982
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
This commit is contained in:
Jeroen Roovers
2019-10-11 16:50:11 +02:00
parent f92f76eed6
commit 73ee71f5b8
7 changed files with 21 additions and 7 deletions

View File

@@ -6,7 +6,7 @@ EAPI=6
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="threads"
inherit bash-completion-r1 eutils flag-o-matic pax-utils python-any-r1 toolchain-funcs
inherit bash-completion-r1 eutils flag-o-matic pax-utils python-any-r1 toolchain-funcs xdg-utils
DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine"
HOMEPAGE="https://nodejs.org/"
@@ -92,6 +92,8 @@ src_prepare() {
}
src_configure() {
xdg_environment_reset
local myconf=( --shared-cares --shared-http-parser --shared-libuv --shared-nghttp2 --shared-zlib )
use debug && myconf+=( --debug )
use icu && myconf+=( --with-intl=system-icu ) || myconf+=( --with-intl=none )

View File

@@ -4,7 +4,7 @@
EAPI=7
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="threads"
inherit bash-completion-r1 flag-o-matic pax-utils python-any-r1 toolchain-funcs
inherit bash-completion-r1 flag-o-matic pax-utils python-any-r1 toolchain-funcs xdg-utils
DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine"
HOMEPAGE="https://nodejs.org/"
@@ -90,6 +90,8 @@ src_prepare() {
}
src_configure() {
xdg_environment_reset
local myconf=(
--shared-cares --shared-http-parser --shared-libuv --shared-nghttp2
--shared-zlib

View File

@@ -4,7 +4,7 @@
EAPI=7
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="threads"
inherit bash-completion-r1 flag-o-matic pax-utils python-any-r1 toolchain-funcs
inherit bash-completion-r1 flag-o-matic pax-utils python-any-r1 toolchain-funcs xdg-utils
DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine"
HOMEPAGE="https://nodejs.org/"
@@ -92,6 +92,8 @@ src_prepare() {
}
src_configure() {
xdg_environment_reset
local myconf=(
--shared-cares --shared-http-parser --shared-libuv --shared-nghttp2
--shared-zlib

View File

@@ -7,7 +7,7 @@ RESTRICT="test"
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="threads"
inherit bash-completion-r1 eutils flag-o-matic pax-utils python-any-r1 toolchain-funcs
inherit bash-completion-r1 eutils flag-o-matic pax-utils python-any-r1 toolchain-funcs xdg-utils
DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine"
HOMEPAGE="https://nodejs.org/"
@@ -92,6 +92,8 @@ src_prepare() {
}
src_configure() {
xdg_environment_reset
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 )

View File

@@ -7,7 +7,7 @@ RESTRICT="test"
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="threads"
inherit bash-completion-r1 eutils flag-o-matic pax-utils python-any-r1 toolchain-funcs
inherit bash-completion-r1 eutils flag-o-matic pax-utils python-any-r1 toolchain-funcs xdg-utils
DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine"
HOMEPAGE="https://nodejs.org/"
@@ -97,6 +97,8 @@ src_prepare() {
}
src_configure() {
xdg_environment_reset
local myconf=( --shared-cares --shared-http-parser --shared-libuv --shared-nghttp2 --shared-zlib )
use debug && myconf+=( --debug )
use icu && myconf+=( --with-intl=system-icu ) || myconf+=( --with-intl=none )

View File

@@ -6,7 +6,7 @@ EAPI=7
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="threads"
inherit bash-completion-r1 flag-o-matic pax-utils python-any-r1 toolchain-funcs
inherit bash-completion-r1 flag-o-matic pax-utils python-any-r1 toolchain-funcs xdg-utils
DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine"
HOMEPAGE="https://nodejs.org/"
@@ -97,6 +97,8 @@ src_prepare() {
}
src_configure() {
xdg_environment_reset
local myconf=( --shared-cares --shared-http-parser --shared-libuv --shared-nghttp2 --shared-zlib )
use debug && myconf+=( --debug )
use icu && myconf+=( --with-intl=system-icu ) || myconf+=( --with-intl=none )

View File

@@ -4,7 +4,7 @@
EAPI=7
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="threads"
inherit bash-completion-r1 flag-o-matic git-r3 pax-utils python-any-r1 toolchain-funcs
inherit bash-completion-r1 flag-o-matic git-r3 pax-utils python-any-r1 toolchain-funcs xdg-utils
DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine"
HOMEPAGE="https://nodejs.org/"
@@ -89,6 +89,8 @@ src_prepare() {
}
src_configure() {
xdg_environment_reset
local myconf=(
--shared-cares --shared-http-parser --shared-libuv --shared-nghttp2
--shared-zlib