openbsd-ports/www/chromium/patches/patch-third_party_expat_expat_gyp
espie 5cb978edde cut the "monster patches" into small pieces. pval can fix it to his liking
if he comes back.
In the mean time, fix build of chromium by adding the required
-I/usr/local/includes to gyp glue where needed.
2010-12-13 09:51:45 +00:00

22 lines
730 B
Plaintext

$OpenBSD: patch-third_party_expat_expat_gyp,v 1.1 2010/12/13 09:51:46 espie Exp $
--- third_party/expat/expat.gyp.orig Tue Mar 30 07:32:01 2010
+++ third_party/expat/expat.gyp Sun Nov 28 00:11:27 2010
@@ -15,7 +15,7 @@
]
},
'conditions': [
- ['OS=="linux"', {
+ ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
# On Linux, we implicitly already depend on expat via fontconfig;
# let's not pull it in twice.
'targets': [
@@ -59,7 +59,7 @@
'COMPILED_FROM_DSP',
],
}],
- ['OS=="mac"', {
+ ['OS=="mac" or OS=="freebsd" or OS=="openbsd"', {
'defines': [
'HAVE_EXPAT_CONFIG_H',
],