pkgsrc/lang/nodejs4/patches/patch-tools_gyp_pylib_gyp_common.py
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

16 lines
556 B
Python

$NetBSD: patch-tools_gyp_pylib_gyp_common.py,v 1.1 2015/11/09 20:21:51 fhajny Exp $
Add support for NetBSD and DragonFly.
--- tools/gyp/pylib/gyp/common.py.orig 2013-03-28 19:07:52.000000000 +0000
+++ tools/gyp/pylib/gyp/common.py
@@ -394,6 +394,10 @@ def GetFlavor(params):
return 'freebsd'
if sys.platform.startswith('openbsd'):
return 'openbsd'
+ if sys.platform.startswith('netbsd'):
+ return 'netbsd'
+ if sys.platform.startswith('dragonflybsd'):
+ return 'dragonflybsd'
if sys.platform.startswith('aix'):
return 'aix'