pkgsrc/lang/nodejs4/patches/patch-common.gypi
fhajny 6870b0060f Import nodejs 4.2.2 as lang/nodejs4, based on the last 4.x update in
lang/nodejs.

This package holds the current 4.x LTS release.

For more on node.js LTS support, see here:

  https://nodejs.org/en/blog/community/node-v5/
2015-11-09 20:21:51 +00:00

15 lines
583 B
Python

$NetBSD: patch-common.gypi,v 1.1 2015/11/09 20:21:51 fhajny Exp $
Add support for NetBSD.
--- common.gypi.orig 2015-09-08 15:30:34.000000000 +0000
+++ common.gypi
@@ -221,7 +221,7 @@
'cflags': [ '-pthread', ],
'ldflags': [ '-pthread' ],
}],
- [ 'OS in "linux freebsd openbsd solaris android aix"', {
+ [ 'OS in "linux freebsd openbsd solaris android aix netbsd"', {
'cflags': [ '-Wall', '-Wextra', '-Wno-unused-parameter', ],
'cflags_cc': [ '-fno-rtti', '-fno-exceptions', '-std=gnu++0x' ],
'ldflags': [ '-rdynamic' ],