$OpenBSD: patch-configure,v 1.9 2010/07/08 16:21:17 giovanni Exp $
--- configure.orig	Fri Jul  3 21:36:32 2009
+++ configure	Tue Sep 22 19:57:45 2009
@@ -69,7 +69,7 @@ DPS=no
 GS=no
 IMP=no
 UTMP=auto
-OPTIMIZER="-O"
+#OPTIMIZER="-O"
 LIBTIFF="-L/usr/local/lib -ltiff"
 TIFFINC=/usr/local/include
 TIFFBIN=
@@ -1533,7 +1533,7 @@ int t() { $f(); return 0; }
 int main(){ t(); return 0; }
 EOF
     capture cat t.c
-    runMake t "t:; \${CCF} t.c $libs"
+    runMake t "t:; \${CCF} t.c -L%%LOCALBASE%%/lib $libs"
 }
 
 #
