openbsd-ports/www/chromium/patches/patch-gpu_demos_demos_gyp

31 lines
1.2 KiB
Plaintext

$OpenBSD: patch-gpu_demos_demos_gyp,v 1.3 2011/06/08 20:36:56 robert Exp $
--- gpu/demos/demos.gyp.orig Mon Jun 6 11:11:26 2011
+++ gpu/demos/demos.gyp Wed Jun 8 09:58:36 2011
@@ -14,7 +14,7 @@
# also be compiled with -fPIC flag. Setting GYP_DEFINES="linux_fpic=1"
# compiles everything with -fPIC. Disable pepper demos on linux/x64
# unless linux_fpic is 1.
- ['OS=="linux" and (target_arch=="x64" or target_arch=="arm") and linux_fpic!=1', {
+ ['(OS=="linux" or OS=="openbsd") and (target_arch=="x64" or target_arch=="arm") and linux_fpic!=1', {
'enable_pepper_demos%': 0,
}, {
'enable_pepper_demos%': 1,
@@ -51,7 +51,7 @@
'framework/window.h',
],
'conditions': [
- ['OS=="linux"', {
+ ['OS=="linux" or OS=="openbsd"', {
'dependencies': ['../../build/linux/system.gyp:gtk'],
}],
],
@@ -106,7 +106,7 @@
],
},
'conditions': [
- ['OS=="linux"', {
+ ['OS=="linux" or OS=="openbsd"', {
# -gstabs, used in the official builds, causes an ICE. Remove it.
'cflags!': ['-gstabs'],
}],