Permalink
Browse files

Workaround for wscript bug.

  • Loading branch information...
1 parent e99b5e0 commit ae862a103cf0ef923b8fa2586197229e61ed4b95 @joshwilsdon joshwilsdon committed Feb 17, 2011
Showing with 14 additions and 0 deletions.
  1. +3 −0 node.js/Makefile
  2. +11 −0 node.js/node-040.patch
View
3 node.js/Makefile
@@ -43,6 +43,9 @@ clean:
$(VER)/build/default/config.h: $(VER)/configure
(cd $(VER); ./configure --with-dtrace --prefix=/usr)
+ (cd $(VER) \
+ ; gpatch -p0 --no-backup-if-mismatch < ../node-040.patch )
+
$(VER)/configure: $(VER).tar.gz
gtar -zxf $(VER).tar.gz
View
11 node.js/node-040.patch
@@ -0,0 +1,11 @@
+--- wscript.ori Wed Feb 16 23:31:07 2011
++++ wscript Wed Feb 16 23:31:16 2011
+@@ -662,7 +662,7 @@
+ if bld.env["USE_DEBUG"]:
+ dtrace_g = dtrace.clone("debug")
+
+- bld.install_files('${PREFIX}/usr/lib/dtrace', 'src/node.d')
++ bld.install_files('${PREFIX}/lib/dtrace', 'src/node.d')
+
+ if sys.platform.startswith("sunos"):
+ #

0 comments on commit ae862a1

Please sign in to comment.