ports/188751: [ patch ] hidden dependency to Avahi in cups-image, cups-client

Dan Lukes dan at obluda.cz
Fri Apr 18 08:20:01 UTC 2014


>Number:         188751
>Category:       ports
>Synopsis:       [ patch ] hidden dependency to Avahi in cups-image, cups-client
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 18 08:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Dan Lukes
>Release:        FreeBSD 9.1-RELEASE-p11 amd64
>Organization:
Obludarium
>Environment:
System: FreeBSD 9.1-RELEASE-p11 #4 r264285M
$FreeBSD: head/print/cups-base/Makefile 350583 2014-04-08 07:41:39

>Description:
	Both cups-image and cups-client are compiled with no Avahi OPTION 
turned on. Unfortunately, ./configure is not ordered to skip Avahi
auto-detection. If Avahi is present it is autodetected by cups configure and 
used during compilation. Resulting libcups depends on Avahi, but such 
dependency is not recorded in the package because of AVAHI option turned off.

>How-To-Repeat:
	Instal Avahi, compile cups-client with default OPTIONs, 
create package, install it on computer with no Avahi installed
>Fix:

if AVAHI option turned off, order configure not to use Avahi.

--- patch begins here ---
--- print/cups-base/Makefile~	2014-04-08 21:49:15.000000000 +0200
+++ print/cups-base/Makefile	2014-04-18 09:37:16.000000000 +0200
@@ -167,6 +167,7 @@
 BROKEN=			missing function, see http://www.avahi.org/ticket/303
 .else
 CONFIGURE_ARGS+=	--disable-dnssd
+CONFIGURE_ARGS+=	--disable-avahi
 PLIST_SUB+=		WITH_MDNSRESPONDER="@comment "
 .endif
 
--- patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list