$OpenBSD: patch-pdf_pdf_gyp,v 1.2 2014/10/13 06:49:19 robert Exp $
--- pdf/pdf.gyp.orig.port	Thu Oct  2 19:19:00 2014
+++ pdf/pdf.gyp	Fri Oct 10 16:10:31 2014
@@ -109,7 +109,7 @@
           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
           'msvs_disabled_warnings': [ 4267, ],
         }],
-        ['OS=="linux"', {
+        ['OS=="linux" or OS=="openbsd"', {
           'configurations': {
             'Release_Base': {
               #'cflags': [ '-fno-weak',],  # get rid of symbols that strip doesn't remove.
@@ -124,7 +124,7 @@
   ],
   'conditions': [
     # CrOS has a separate step to do this.
-    ['OS=="linux" and chromeos==0',
+    ['(OS=="linux" or OS=="openbsd") and chromeos==0',
       { 'targets': [
         {
           'target_name': 'pdf_linux_symbols',
