$OpenBSD: patch-third_party_pdfium_pdfium_gyp,v 1.6 2016/05/28 14:49:39 robert Exp $
--- third_party/pdfium/pdfium.gyp.orig.port	Wed May 25 21:02:25 2016
+++ third_party/pdfium/pdfium.gyp	Thu May 26 08:09:48 2016
@@ -16,7 +16,7 @@
     'pdf_enable_v8%': 1,
     'pdf_enable_xfa%': 0, # Set to 1 by standalone.gypi in a standalone build.
     '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.
@@ -75,7 +75,7 @@
       ['pdf_enable_xfa==1', {
         'defines': ['PDF_ENABLE_XFA'],
       }],
-      ['OS=="linux"', {
+      ['OS=="linux" or os_bsd==1', {
         'conditions': [
           ['target_arch=="x64"', {
             'defines' : [ '_FX_CPU_=_FX_X64_', ],
