commit: 601610833831462786c12893b87ec8a9ccc50fda
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Sep 29 13:13:36 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Wed Sep 29 13:13:36 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=60161083
node.eclass: remove /opt from paths
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
eclass/node.eclass | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/eclass/node.eclass b/eclass/node.eclass
index aeff2f3c7..47b7a57b1 100644
--- a/eclass/node.eclass
+++ b/eclass/node.eclass
@@ -82,9 +82,8 @@ node_src_prepare() {
}
node_src_configure() {
- export PATH="${PATH}:/opt/node-debian/usr/bin"
#path to the modules
- export
NODE_PATH="/usr/$(get_libdir)/node_modules:/opt/node-debian/usr/share/nodejs"
+ export NODE_PATH="/usr/$(get_libdir)/node_modules"
export npm_config_prefix="${NODE_MODULE_PREFIX}"
#path to the headers needed by node-gyp
export npm_config_nodedir="/usr/include/node"