1
0
Fork 0
mirror of https://github.com/rubyjs/libv8 synced 2023-03-27 23:21:48 -04:00
libv8/patches/add-freebsd9-and-freebsd10-to-gyp-GetFlavor.patch
Geoff Garside 53972fc998 Add patch to support FreeBSD 9 and 10 in GYP.
Without this patch GYP will attempt to build v8 for Linux which will
fail due to missing headers.
2012-05-12 15:41:09 +01:00

11 lines
395 B
Diff

--- build/gyp/pylib/gyp/common.py.orig 2012-05-12 15:36:46.235280559 +0100
+++ build/gyp/pylib/gyp/common.py 2012-05-12 15:37:10.315754125 +0100
@@ -355,6 +355,8 @@
'sunos5': 'solaris',
'freebsd7': 'freebsd',
'freebsd8': 'freebsd',
+ 'freebsd9': 'freebsd',
+ 'freebsd10': 'freebsd',
}
flavor = flavors.get(sys.platform, 'linux')
return params.get('flavor', flavor)