summaryrefslogtreecommitdiff
path: root/lang/nodejs/patches/patch-tools_install.py
diff options
context:
space:
mode:
Diffstat (limited to 'lang/nodejs/patches/patch-tools_install.py')
-rw-r--r--lang/nodejs/patches/patch-tools_install.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/lang/nodejs/patches/patch-tools_install.py b/lang/nodejs/patches/patch-tools_install.py
new file mode 100644
index 00000000000..cbf7c2436e0
--- /dev/null
+++ b/lang/nodejs/patches/patch-tools_install.py
@@ -0,0 +1,15 @@
+$NetBSD: patch-tools_install.py,v 1.1 2013/05/22 15:17:07 mspo Exp $
+
+Install man pages under the right directory.
+
+--- tools/install.py.orig 2013-03-21 01:15:04.000000000 +0000
++++ tools/install.py
+@@ -129,7 +129,7 @@ def files(action):
+ 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'], '@PKGMANDIR@/man1/')
+
+ if 'true' == variables.get('node_install_npm'): npm_files(action)
+