Date: Mon, 11 Feb 2008 00:44:05 -0500 (EST) From: Naram Qashat <cyberbotx@cyberbotx.com> To: FreeBSD-gnats-submit@freebsd.org Cc: gnome@FreeBSD.org Subject: [PATCH] x11-toolkits/gtk: Respect if user wants to disable CUPS Message-ID: <20080211054405.4E018C180@kirby.cyberbotx.com>
index | next in thread | raw e-mail
>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@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 ---
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080211054405.4E018C180>
