$OpenBSD: patch-base_base_gypi,v 1.2 2011/02/08 09:43:02 espie Exp $
--- base/base.gypi.orig	Fri Jan 21 10:20:15 2011
+++ base/base.gypi	Mon Jan 24 14:21:18 2011
@@ -352,12 +352,11 @@
                 'message_pump_glib_x.cc',
               ],
           }],
-          [ 'OS != "linux"', {
+          [ 'OS != "linux" or OS != "openbsd"', {
               'sources!': [
                 # Not automatically excluded by the *linux.cc rules.
                 'gtk_util.cc',
                 'gtk_util.h',
-                'linux_util.cc',
                 'setproctitle_linux.c',
                 'setproctitle_linux.h',
               ],
@@ -640,6 +639,11 @@
           ],
         },],
         [ 'OS == "freebsd" or OS == "openbsd"', {
+          'sources!': [
+            'file_util_linux.cc',
+            'process_linux.cc',
+          ],
+          'include_dirs': [ '/usr/local/include' ],
           'link_settings': {
             'libraries': [
               '-L/usr/local/lib -lexecinfo',
@@ -714,7 +718,7 @@
         },
       ],
     }],
-    [ 'OS == "linux" and internal_pdf', {
+    [ '(OS == "linux" or OS == "openbsd") and internal_pdf', {
       'targets': [
         {
           'target_name': 'base_fpic',
