Skip to content

Commit

Permalink
Fix node-waf so that it correctly looks for "nodejs" instead of "node…
Browse files Browse the repository at this point in the history
…" (patched node_addon.py)
  • Loading branch information
dpaleino committed Sep 20, 2012
1 parent 78816d9 commit 25e0b0d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
8 changes: 8 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
nodejs (0.6.19~dfsg1-5) UNRELEASED; urgency=low

* Team upload.
* Fix node-waf so that it correctly looks for "nodejs" instead of
"node" (patched node_addon.py)

-- David Paleino <dapal@debian.org> Thu, 20 Sep 2012 16:41:24 +0200

nodejs (0.6.19~dfsg1-4) unstable; urgency=medium

* Update package relations:
Expand Down
14 changes: 13 additions & 1 deletion debian/patches/2003_rename_node_to_nodejs.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
Description: Change shell command from node to nodejs
Author: Jonas Smedegaard <dr@jones.dk>
David Paleino <dapal@debian.org>
Bug-Debian: http://bugs.debian.org/614907
Last-Update: 2012-07-25
Last-Update: 2012-09-20

--- a/doc/node.1
+++ b/doc/node.1
Expand All @@ -20,3 +21,14 @@ Last-Update: 2012-07-25
[
.B \-v
]
--- a/tools/wafadmin/Tools/node_addon.py
+++ b/tools/wafadmin/Tools/node_addon.py
@@ -49,7 +49,7 @@ def detect(conf):
found = os.path.exists(conf.env['NODE_PATH'])
conf.check_message('node path', '', found, conf.env['NODE_PATH'])

- found = os.path.exists(join(prefix, 'bin', 'node'))
+ found = os.path.exists(join(prefix, 'bin', 'nodejs'))
conf.check_message('node prefix', '', found, prefix)

## On Cygwin we need to link to the generated symbol definitions

0 comments on commit 25e0b0d

Please sign in to comment.