commit:     4bbdb934392677e85bb063b308d0a708421257b9
Author:     Stefan Strogin <steils <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 18 12:38:06 2019 +0000
Commit:     Stefan Strogin <steils <AT> gentoo <DOT> org>
CommitDate: Fri Oct 18 12:44:14 2019 +0000
URL:        https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=4bbdb934

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

Thanks-to: Jeroen Roovers <jer <AT> gentoo.org>
[https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73ee71f5b874d8ee6ebceccfca87b4fa7b82491c]
Signed-off-by: Stefan Strogin <steils <AT> gentoo.org>

 net-libs/nodejs/nodejs-12.11.1.ebuild | 4 +++-
 net-libs/nodejs/nodejs-12.12.0.ebuild | 4 +++-
 net-libs/nodejs/nodejs-8.16.2.ebuild  | 4 +++-
 3 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/net-libs/nodejs/nodejs-12.11.1.ebuild 
b/net-libs/nodejs/nodejs-12.11.1.ebuild
index 9c768c8..404ead5 100644
--- a/net-libs/nodejs/nodejs-12.11.1.ebuild
+++ b/net-libs/nodejs/nodejs-12.11.1.ebuild
@@ -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/";
@@ -96,6 +96,8 @@ src_prepare() {
 }
 
 src_configure() {
+       xdg_environment_reset
+
        local myconf=(
                --shared-cares --shared-http-parser --shared-libuv 
--shared-nghttp2
                --shared-zlib

diff --git a/net-libs/nodejs/nodejs-12.12.0.ebuild 
b/net-libs/nodejs/nodejs-12.12.0.ebuild
index 9c768c8..404ead5 100644
--- a/net-libs/nodejs/nodejs-12.12.0.ebuild
+++ b/net-libs/nodejs/nodejs-12.12.0.ebuild
@@ -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/";
@@ -96,6 +96,8 @@ src_prepare() {
 }
 
 src_configure() {
+       xdg_environment_reset
+
        local myconf=(
                --shared-cares --shared-http-parser --shared-libuv 
--shared-nghttp2
                --shared-zlib

diff --git a/net-libs/nodejs/nodejs-8.16.2.ebuild 
b/net-libs/nodejs/nodejs-8.16.2.ebuild
index 9bca764..52e0c7b 100644
--- a/net-libs/nodejs/nodejs-8.16.2.ebuild
+++ b/net-libs/nodejs/nodejs-8.16.2.ebuild
@@ -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/";
@@ -101,6 +101,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 )

Reply via email to