[PATCH] x11-toolkits/gtk: Respect if user wants to disable CUPS

Naram Qashat cyberbotx at cyberbotx.com
Sun Feb 10 22:00:07 PST 2008


>Submitter-Id:	current-users
>Originator:	Naram Qashat
>Organization:	
>Confidential:	no 
>Synopsis:	[PATCH] x11-toolkits/gtk: Respect if user wants to disable CUPS
>Severity:	non-critical
>Priority:	low
>Category:	ports 
>Class:		change-request
>Release:	FreeBSD 6.3-RELEASE i386
>Environment:
System: FreeBSD kirby.cyberbotx.com 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Wed Jan 23 16:14:04 EST 2008
>Description:
- Respect if the user has defined WITHOUT_CUPS when they want to disable
  CUPS within GTK+.

Port maintainer (gnome at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- gtk-2.12.7.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/x11-toolkits/gtk/Makefile /kirby/shared/ports/gtk20/Makefile
--- /usr/ports/x11-toolkits/gtk/Makefile	2008-02-11 00:42:40.000000000 -0500
+++ /kirby/shared/ports/gtk20/Makefile	2008-02-11 00:41:48.000000000 -0500
@@ -64,7 +64,7 @@
 
 .include <bsd.port.pre.mk>
 
-.if defined(WITH_CUPS) || exists(${LOCALBASE}/lib/libcups.so)
+.if defined(WITH_CUPS) || (exists(${LOCALBASE}/lib/libcups.so) && !defined(WITHOUT_CUPS))
 LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
 PLIST_SUB+=	CUPS:=""
 .else
--- gtk-2.12.7.patch ends here ---



More information about the freebsd-gnome mailing list