freebsd-ports/www/node06/files/patch-wscript
Li-Wen Hsu 5b0ccdbd22 - Keep node 0.6.x branch in www/node06
PR:		ports/170204
Submitted by:	Jin-Sih Lin <linpct@gmail.com> (maintainer)
2012-08-14 06:02:10 +00:00

12 lines
509 B
Text

--- wscript.orig 2012-05-16 13:28:07.000000000 +0800
+++ wscript 2012-05-16 13:33:24.000000000 +0800
@@ -642,8 +642,7 @@
#
cmd = 'cp -r ' + sh_escape(srcdir) + '/* ' + sh_escape(blddir)
if not sys.platform.startswith('win32'):
- make = ('if [ -z "$NODE_MAKE" ]; then NODE_MAKE=make; fi; '
- '$NODE_MAKE -C ' + sh_escape(blddir))
+ make = 'gmake -C ' + sh_escape(blddir)
flags = arch_cflags(bld)
if flags: make += ' CFLAGS=\'%s\'' % ' '.join(flags) # don't escape
else: