Some SlackBuild scripts for Slackware.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
1.4 KiB

diff -Naur node-v12.16.0.orig/deps/npm/lib/unbuild.js node-v12.16.0/deps/npm/lib/unbuild.js
--- node-v12.16.0.orig/deps/npm/lib/unbuild.js 2020-02-11 15:18:17.000000000 +0000
+++ node-v12.16.0/deps/npm/lib/unbuild.js 2020-02-13 22:20:15.875730045 +0000
@@ -101,7 +101,7 @@
!npm.config.get('global')) {
return cb()
}
- const manRoot = path.resolve(npm.config.get('prefix'), 'share', 'man')
+ const manRoot = path.resolve(npm.config.get('prefix'), 'man')
log.verbose('rmMans', 'man files are', pkg.man, 'in', manRoot)
asyncMap(pkg.man, function (man, cb) {
if (Array.isArray(man)) {
diff -Naur node-v12.16.0.orig/tools/install.py node-v12.16.0/tools/install.py
--- node-v12.16.0.orig/tools/install.py 2020-02-11 15:18:21.000000000 +0000
+++ node-v12.16.0/tools/install.py 2020-02-13 22:19:18.251866168 +0000
@@ -148,13 +148,10 @@
# behave similarly for systemtap
action(['src/node.stp'], 'share/systemtap/tapset/')
- action(['deps/v8/tools/gdbinit'], 'share/doc/node/')
- action(['deps/v8/tools/lldb_commands.py'], 'share/doc/node/')
+ action(['deps/v8/tools/gdbinit'], 'share/nodejs/')
+ action(['deps/v8/tools/lldb_commands.py'], 'share/nodejs/')
- if 'freebsd' in sys.platform or 'openbsd' in sys.platform:
- action(['doc/node.1'], 'man/man1/')
- else:
- action(['doc/node.1'], 'share/man/man1/')
+ action(['doc/node.1'], 'man/man1/')
if 'true' == variables.get('node_install_npm'): npm_files(action)