openbsd-ports/www/chromium/patches/patch-printing_printing_gyp
robert dd0e30a71b - re-enable flock in the build
- add support for detecting if an sqlite3 db is on an NFS mount
- fix printing: Chrome can only print to PDF and that is why you
  cannot print to LPD directly. It requres CUPS.
2011-05-26 11:39:14 +00:00

44 lines
1.4 KiB
Plaintext

$OpenBSD: patch-printing_printing_gyp,v 1.4 2011/05/26 11:39:14 robert Exp $
--- printing/printing.gyp.orig Fri May 20 10:34:53 2011
+++ printing/printing.gyp Thu May 26 11:46:28 2011
@@ -142,6 +142,11 @@
],
},
}],
+ ['OS=="openbsd"', {
+ 'include_dirs': [
+ '/usr/local/include',
+ ],
+ }],
],
}],
],
@@ -170,7 +175,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"
@@ -181,14 +186,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',
- ],
- }],
+ ],
+ }],
],
}],
],