$OpenBSD: patch-configure,v 1.1 2010/04/27 20:06:59 landry Exp $
our librest installs librest.pc, not librest-0.6.pc
--- configure.orig	Tue Apr 27 21:16:38 2010
+++ configure	Tue Apr 27 21:17:57 2010
@@ -13209,18 +13209,18 @@ if test -n "$PKG_CONFIG"; then
     else
         if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
-      rest-0.6 >= 0.6
+      rest >= 0.6
 
   \""; } >&5
   ($PKG_CONFIG --exists --print-errors "
-      rest-0.6 >= 0.6
+      rest >= 0.6
 
   ") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_SEARCH_DEPS_CFLAGS=`$PKG_CONFIG --cflags "
-      rest-0.6 >= 0.6
+      rest >= 0.6
 
   " 2>/dev/null`
 else
@@ -13236,18 +13236,18 @@ if test -n "$PKG_CONFIG"; then
     else
         if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
-      rest-0.6 >= 0.6
+      rest >= 0.6
 
   \""; } >&5
   ($PKG_CONFIG --exists --print-errors "
-      rest-0.6 >= 0.6
+      rest >= 0.6
 
   ") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_SEARCH_DEPS_LIBS=`$PKG_CONFIG --libs "
-      rest-0.6 >= 0.6
+      rest >= 0.6
 
   " 2>/dev/null`
 else
