Skip to content

Commit

Permalink
Workaround for wscript bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwilsdon committed Feb 17, 2011
1 parent e99b5e0 commit ae862a1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions node.js/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 11 additions & 0 deletions node.js/node-040.patch
Original file line number Diff line number Diff line change
@@ -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.