ports/www/node-devel/files/patch-wscript
Vanilla I. Shu 9af0be4776 Upgrade to 0.5.3.
PR:		ports/159410
Submitted by:	maintainer
2011-08-05 04:51:17 +00:00

20 lines
822 B
Text

--- wscript.orig 2011-08-03 16:28:40.000000000 +0800
+++ wscript 2011-08-03 16:29:22.000000000 +0800
@@ -623,7 +623,7 @@
#
cmd = 'cp -r ' + sh_escape(srcdir) + '/* ' + sh_escape(blddir)
if not sys.platform.startswith('win32'):
- cmd += ' && if [[ -z "$NODE_MAKE" ]]; then NODE_MAKE=make; fi; $NODE_MAKE -C ' + sh_escape(blddir)
+ cmd += ' && gmake -C ' + sh_escape(blddir)
else:
cmd += ' && make -C ' + sh_escape(blddir)
return cmd
@@ -949,8 +949,6 @@
# Only install the man page if it exists.
# Do 'make doc install' to build and install it.
- if os.path.exists('doc/node.1'):
- bld.install_files('${PREFIX}/share/man/man1/', 'doc/node.1')
bld.install_files('${PREFIX}/bin/', 'tools/node-waf', chmod=0755)
bld.install_files('${LIBDIR}/node/wafadmin', 'tools/wafadmin/*.py')