$OpenBSD: patch-configure,v 1.8 2008/02/26 18:37:38 merdely Exp $
--- configure.orig	Wed Nov 21 07:45:23 2007
+++ configure	Tue Feb 26 09:46:17 2008
@@ -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=
@@ -1521,7 +1521,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"
 }
 
 #
