ports/82111: Update port: print/xfce4-print - prevent the port from being installed if no printing system is defined

"Björn Königörn König" at efacilitas.de "Björn Königörn König" at efacilitas.de
Fri Jun 10 12:10:11 UTC 2005


>Number:         82111
>Category:       ports
>Synopsis:       Update port: print/xfce4-print - prevent the port from being installed if no printing system is defined
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 10 12:10:10 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Björn Königörn König
>Release:        FreeBSD 5.4-RELEASE-p1 i386
>Organization:
>Environment:


System: FreeBSD 5.4-RELEASE-p1 #1: Wed Jun  8 22:16:54 CEST 2005
    root at hoppel.local:/usr/obj/usr/branch/RELENG_5_4/src/sys/HOPPELDESK



>Description:


The patch below adds a check whether WITHOUT_LPR is defined while WITH_CUPS is not defined. If this case occurs the port won't build.


>How-To-Repeat:


cd /usr/ports/print/xfce4-print
make -DWITHOUT_LPR configure



>Fix:


--- Makefile.diff begins here ---
--- Makefile.orig	Fri Jun 10 13:34:55 2005
+++ Makefile	Fri Jun 10 13:49:58 2005
@@ -55,6 +55,10 @@
 PLIST_SUB+=	LPR=""
 .endif
 
+.if defined(WITHOUT_LPR) && !defined(WITH_CUPS)
+IGNORE=		You have to define WITH_CUPS or undefine WITHOUT_LPR in order to install this port.
+.endif
+
 .if defined(WITH_LETTER)
 CONFIGURE_ARGS+=--enable-letter
 BUILD_DEPENDS+=	a2ps:${PORTSDIR}/print/a2ps-letter
--- Makefile.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:
 " <bkoenig at cs.tu-berlin.de>
 Message-Id: <1118405113.0 at hoppel.local>
 To: "FreeBSD gnats submit" <FreeBSD-gnats-submit at freebsd.org>
 CC: oliver at FreeBSD.org
 
 
  



More information about the freebsd-ports-bugs mailing list