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

Naram Qashat cyberbotx at cyberbotx.com
Mon Feb 11 05:50:02 UTC 2008


>Number:         120520
>Category:       ports
>Synopsis:       [PATCH] x11-toolkits/gtk: Respect if user wants to disable CUPS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 11 05:50:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Naram Qashat
>Release:        FreeBSD 6.3-RELEASE i386
>Organization:
>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 ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list