$OpenBSD: patch-configure,v 1.1 2006/07/18 19:44:27 alek Exp $
--- configure.orig	Sun Jun 25 14:32:14 2006
+++ configure	Sun Jun 25 14:32:18 2006
@@ -22774,7 +22774,7 @@ fi
 	echo "$as_me:$LINENO: checking for pthread_mutex_lock in -lpthread " >&5
 echo $ECHO_N "checking for pthread_mutex_lock in -lpthread ... $ECHO_C" >&6
 ac_save_LIBS="$LIBS"
-LIBS="-lpthread  $LIBS"
+LIBS="-pthread  $LIBS"
 
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
@@ -22835,7 +22835,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_l
 echo "$as_me:$LINENO: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 
-	    LIBS="$LIBS -lpthread"
+	    LIBS="$LIBS -pthread"
 	    found_lib=true
 
 else
