$OpenBSD: patch-third_party_pdfium_pdfium_gyp,v 1.5 2016/01/23 18:49:31 robert Exp $
--- third_party/pdfium/pdfium.gyp.orig.port	Wed Jan 20 21:02:27 2016
+++ third_party/pdfium/pdfium.gyp	Fri Jan 22 19:58:59 2016
@@ -9,7 +9,7 @@
     'pdf_use_skia%': 0,
     'pdf_enable_v8%': 1,
     'conditions': [
-      ['OS=="linux"', {
+      ['OS=="linux" or os_bsd==1', {
         'bundle_freetype%': 0,
       }, {  # On Android there's no system FreeType. On Windows and Mac, only a
             # few methods are used from it.
@@ -37,7 +37,7 @@
       ['pdf_enable_v8==1', {
         'defines': ['PDF_ENABLE_V8'],
       }],
-      ['OS=="linux"', {
+      ['OS=="linux" or os_bsd==1', {
         'conditions': [
           ['target_arch=="x64"', {
             'defines' : [ '_FX_CPU_=_FX_X64_', ],
