- use GSCUPS_LIBS instead of -lcups in configure (to make sure cups support

gets correctly detected in future versions)

spotted by steven@
This commit is contained in:
ajacoutot 2007-11-05 22:52:58 +00:00
parent 8d5decd5b5
commit e207ac3295
2 changed files with 14 additions and 1 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.3 2007/07/25 06:10:40 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.4 2007/11/05 22:52:58 ajacoutot Exp $
COMMENT= GNUstep gui library
DISTNAME= gnustep-gui-0.12.0
PKGNAME= ${DISTNAME}p0
SHARED_LIBS= gnustep-gui 0.12 # .0.12
CATEGORIES= devel

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-configure,v 1.1 2007/11/05 22:52:58 ajacoutot Exp $
--- configure.orig Mon Nov 5 23:48:54 2007
+++ configure Mon Nov 5 23:50:00 2007
@@ -7088,7 +7088,7 @@ if test "${ac_cv_lib_cups_cupsServer+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lcups $LIBS"
+LIBS="$GSCUPS_LIBS $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF