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

39 lines
1.2 KiB
Plaintext

$OpenBSD: patch-base_base_gypi,v 1.7 2011/08/16 08:17:44 robert Exp $
--- base/base.gypi.orig Tue Aug 2 20:13:45 2011
+++ base/base.gypi Tue Aug 2 20:15:07 2011
@@ -191,6 +191,7 @@
'process_util.h',
'process_util_linux.cc',
'process_util_mac.mm',
+ 'process_util_openbsd.cc',
'process_util_posix.cc',
'process_util_win.cc',
'process_win.cc',
@@ -371,12 +372,11 @@
'message_pump_glib_x.cc',
],
}],
- [ 'OS != "linux"', {
+ [ 'OS != "linux" and OS !="openbsd"', {
'sources!': [
# Not automatically excluded by the *linux.cc rules.
'gtk_util.cc',
'gtk_util.h',
- 'linux_util.cc',
],
},
],
@@ -491,6 +491,12 @@
],
}],
[ 'OS == "freebsd" or OS == "openbsd"', {
+ 'sources!': [
+ 'file_util_linux.cc',
+ 'process_linux.cc',
+ 'process_util_linux.cc',
+ ],
+ 'include_dirs': [ '/usr/local/include' ],
'link_settings': {
'libraries': [
'-L/usr/local/lib -lexecinfo',