$OpenBSD: patch-content_content_browser_gypi,v 1.39 2016/01/23 20:43:27 robert Exp $
--- content/content_browser.gypi.orig.port	Wed Jan 20 21:01:21 2016
+++ content/content_browser.gypi	Sat Jan 23 20:16:30 2016
@@ -1963,7 +1963,7 @@
         },
       },
     }],
-    ['OS=="linux" and chromeos==0 and use_x11==1', {
+    ['(os_bsd==1 or OS=="linux") and chromeos==0 and use_x11==1', {
       'dependencies': [
         '../build/linux/system.gyp:atk',
         '../build/linux/system.gyp:gconf',
@@ -1992,7 +1992,7 @@
         'browser/udev_linux.h',
       ],
     }],
-    ['OS=="linux" and use_aura==1', {
+    ['(os_bsd==1 or OS=="linux") and use_aura==1', {
       'dependencies': [
         '../build/linux/system.gyp:fontconfig',
       ],
@@ -2090,9 +2090,22 @@
       ],
     }],
     ['os_bsd==1', {
-      'sources/': [
-        ['exclude', '^browser/gamepad/gamepad_platform_data_fetcher_linux\\.cc$'],
+      'sources!': [
+        'public/browser/zygote_host_linux.h',
+        'browser/zygote_host/zygote_host_impl_linux.cc',
+        'browser/zygote_host/zygote_host_impl_linux.h',
+        'zygote/zygote_linux.cc',
+        'zygote/zygote_linux.h',
+        'zygote/zygote_main_linux.cc',
+        'browser/device_monitor_linux.cc',
+        'browser/download/file_metadata_linux.cc',
+        'browser/gamepad/gamepad_platform_data_fetcher_linux.cc',
+        'browser/geolocation/wifi_data_provider_linux.cc',
+        'browser/udev_linux.cc',
       ],
+      'dependencies': [
+        '../build/linux/system.gyp:dbus',
+      ],
     }],
     ['use_aura==1', {
       'dependencies': [
@@ -2140,10 +2153,7 @@
         'browser/geolocation/empty_wifi_data_provider.cc',
       ],
     }],
-    ['OS == "linux" and use_dbus==1', {
-      'sources!': [
-        'browser/geolocation/empty_wifi_data_provider.cc',
-      ],
+    ['(OS == "linux" or os_bsd==1) and use_dbus==1', {
       'dependencies': [
         '../build/linux/system.gyp:dbus',
         '../dbus/dbus.gyp:dbus',
@@ -2162,7 +2172,7 @@
         'browser/media/media_web_contents_observer.h',
       ],
     }],
-    ['OS == "linux"', {
+    ['(os_bsd==1 or OS == "linux")', {
       'dependencies': [
         '../third_party/boringssl/boringssl.gyp:boringssl',
       ],
