ports/119199: [PATCH] emulators/wine: option to disable CUPS

Sean C. Farley scf at FreeBSD.org
Mon Dec 31 20:20:03 UTC 2007


>Number:         119199
>Category:       ports
>Synopsis:       [PATCH] emulators/wine: option 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 Dec 31 20:20:02 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Sean C. Farley
>Release:        FreeBSD 7.0-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD thor.farley.org 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0: Sun Dec 23 17:50:38 CST 2007
>Description:
Here is a patch to make CUPS optional while keeping it enabled by default
by the use of WITHOUT_CUPS.  Since configure did not have an option to
disable CUPS, I used ac_cv_header_cups_cups_h through the environment to
accomplish it.

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

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

--- wine-0.9.52,1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/emulators/wine/Makefile,v
retrieving revision 1.248
diff -u -r1.248 Makefile
--- Makefile	29 Dec 2007 19:27:27 -0000	1.248
+++ Makefile	31 Dec 2007 19:36:43 -0000
@@ -18,8 +18,7 @@
 COMMENT=	Microsoft Windows compatibility layer for Unix-like systems
 
 BUILD_DEPENDS=	fontforge:${PORTSDIR}/print/fontforge
-LIB_DEPENDS=	cups.2:${PORTSDIR}/print/cups-base \
-		fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig \
+LIB_DEPENDS=	fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig \
 		freetype.9:${PORTSDIR}/print/freetype2 \
 		jpeg.9:${PORTSDIR}/graphics/jpeg \
 		lcms.1:${PORTSDIR}/graphics/lcms \
@@ -40,6 +39,13 @@
 USE_GL=		glut
 USE_XPM=	yes
 
+# Optional CUPS support.
+.if defined(WITHOUT_CUPS)
+CONFIGURE_ENV+=	ac_cv_header_cups_cups_h="no"
+.else
+LIB_DEPENDS+=	cups.2:${PORTSDIR}/print/cups-base
+.endif
+
 SUB_FILES=	pkg-message
 PKGMESSAGE=	${WRKDIR}/pkg-message
 
--- wine-0.9.52,1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list