$OpenBSD: patch-build_common_gypi,v 1.2 2011/02/08 09:43:02 espie Exp $
--- build/common.gypi.orig	Tue Jan 25 12:41:03 2011
+++ build/common.gypi	Wed Feb  2 15:03:20 2011
@@ -15,7 +15,7 @@
 
     'internal_pdf%': 0,
 
-    # This allows to use libcros from the current system, ie. /usr/lib/
+    # This allows to use libcros from the current system, ie. /usr/local/lib/
     # The cros_api will be pulled in as a static library, and all headers
     # from the system include dirs.
     'system_libcros%': '0',
@@ -271,7 +271,7 @@
     'linux_strip_reliability_tests%': 0,
 
     # Enable TCMalloc.
-    'linux_use_tcmalloc%': 1,
+    'linux_use_tcmalloc%': 0,
 
     # Disable TCMalloc's debugallocation.
     'linux_use_debugallocation%': 0,
@@ -295,7 +295,7 @@
 
     # Used to disable Native Client at compile time, for platforms where it
     # isn't supported
-    'disable_nacl%': 0,
+    'disable_nacl%': 1,
 
     # Set Thumb compilation flags.
     'arm_thumb%': 0,
@@ -326,7 +326,7 @@
         # This is used to tweak build flags for gcc 4.4.
         'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)',
         # Figure out the python architecture to decide if we build pyauto.
-        'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/lib/libpython<(python_ver).so.1.0)',
+        'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/local/lib/libpython<(python_ver).so.1)',
         'conditions': [
           ['branding=="Chrome"', {
             'linux_breakpad%': 1,
@@ -631,7 +631,7 @@
               ['exclude', '(^|/)(gtk|x11)_[^/]*\\.(h|cc)$'],
             ],
           }],
-          ['OS!="linux"', {
+          ['OS!="linux" and OS!="openbsd"', {
             'sources/': [
               ['exclude', '_linux(_unittest)?\\.(h|cc)$'],
               ['exclude', '(^|/)linux/'],
