[PATCH] print/libgnomeprint: Respect if user wants to disable CUPS
Naram Qashat
cyberbotx at cyberbotx.com
Sun Feb 10 22:07:38 PST 2008
>Submitter-Id: current-users
>Originator: Naram Qashat
>Organization:
>Confidential: no
>Synopsis: [PATCH] print/libgnomeprint: 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 libgnomeprint.
Port maintainer (gnome at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- libgnomeprint-2.18.3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/print/libgnomeprint/Makefile /kirby/shared/ports/libgnomeprint/Makefile
--- /usr/ports/print/libgnomeprint/Makefile 2008-01-31 09:56:02.000000000 -0500
+++ /kirby/shared/ports/libgnomeprint/Makefile 2008-02-11 00:50:24.000000000 -0500
@@ -41,7 +41,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_GUPS))
CONFIGURE_ARGS+= --with-cups
LIB_DEPENDS+= gnomecups-1.0:${PORTSDIR}/print/libgnomecups
PLIST_SUB+= CUPS:=""
--- libgnomeprint-2.18.3.patch ends here ---
More information about the freebsd-gnome
mailing list