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