$OpenBSD: patch-gpu_demos_demos_gyp,v 1.2 2011/03/15 11:38:05 robert Exp $ --- gpu/demos/demos.gyp.orig Fri Mar 11 10:01:07 2011 +++ gpu/demos/demos.gyp Mon Mar 14 10:55:37 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'], }], ], @@ -171,7 +171,7 @@ ], }, 'conditions': [ - ['OS=="linux"', { + ['OS=="linux" or OS=="openbsd"', { # -gstabs, used in the official builds, causes an ICE. Remove it. 'cflags!': ['-gstabs'], }],