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

44 lines
1.4 KiB
Plaintext

$OpenBSD: patch-printing_printing_gyp,v 1.5 2011/06/08 20:36:56 robert Exp $
--- printing/printing.gyp.orig Mon Jun 6 11:11:26 2011
+++ printing/printing.gyp Wed Jun 8 09:58:36 2011
@@ -150,6 +150,11 @@
],
},
}],
+ ['OS=="openbsd"', {
+ 'include_dirs': [
+ '/usr/local/include',
+ ],
+ }],
],
}],
],
@@ -178,7 +183,7 @@
'units_unittest.cc',
],
'conditions': [
- ['OS!="linux"', {'sources/': [['exclude', '_cairo_unittest\\.cc$']]}],
+ ['OS!="linux" and OS!="openbsd"', {'sources/': [['exclude', '_cairo_unittest\\.cc$']]}],
['OS!="mac"', {'sources/': [['exclude', '_mac_unittest\\.(cc|mm?)$']]}],
['OS!="win"', {'sources/': [['exclude', '_win_unittest\\.cc$']]
}, { # else: OS=="win"
@@ -189,14 +194,12 @@
'dependencies': [
'../build/linux/system.gyp:gtk',
],
- }],
- ['OS=="linux"', {
- 'conditions': [
- ['linux_use_tcmalloc==1', {
+ 'conditions': [
+ ['linux_use_tcmalloc==1', {
'dependencies': [
'../base/allocator/allocator.gyp:allocator',
- ],
- }],
+ ],
+ }],
],
}],
],