pkgsrc/lang/nodejs8/patches/patch-tools_gyp_pylib_gyp_common.py

15 lines
491 B
Python
Raw Normal View History

$NetBSD: patch-tools_gyp_pylib_gyp_common.py,v 1.1 2017/11/01 12:07:31 fhajny Exp $
Add support for NetBSD and DragonFly.
--- tools/gyp/pylib/gyp/common.py.orig 2017-05-03 02:00:16.000000000 +0000
+++ tools/gyp/pylib/gyp/common.py
@@ -427,6 +427,8 @@ def GetFlavor(params):
return 'openbsd'
if sys.platform.startswith('netbsd'):
return 'netbsd'
+ if sys.platform.startswith('dragonflybsd'):
+ return 'dragonflybsd'
if sys.platform.startswith('aix'):
return 'aix'