$OpenBSD: patch-configure,v 1.4 2012/07/08 13:35:08 sebastia Exp $
--- configure.orig	Mon Jan 30 22:06:08 2012
+++ configure	Mon Apr  9 16:01:29 2012
@@ -6104,7 +6104,7 @@ if ${ac_cv_lib_cups_cupsServer+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lcups  $LIBS"
+LIBS="$GSCUPS_LIBS $LIBS"
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
