$OpenBSD: patch-gpu_tools_tools_gyp,v 1.3 2015/05/26 17:37:40 robert Exp $
--- gpu/tools/tools.gyp.orig.port	Thu May 14 00:23:07 2015
+++ gpu/tools/tools.gyp	Wed May 20 08:34:56 2015
@@ -9,7 +9,7 @@
   'targets': [
   ],
   'conditions': [
-    ['OS == "linux" and target_arch != "arm" and use_x11==1', {
+    ['(OS == "linux" or os_bsd==1) and target_arch != "arm" and use_x11==1', {
       'targets': [
         {
           # GN version: //gpu/tools/compositor_model_bench
@@ -22,7 +22,6 @@
           ],
           'libraries': [
             '-lGL',
-            '-ldl',
           ],
           'sources': [
             'compositor_model_bench/compositor_model_bench.cc',
