Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Apr 2014 09:57:01 +0200 (CEST)
From:      Dan Lukes <dan@obluda.cz>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/188751: [ patch ] hidden dependency to Avahi in cups-image, cups-client
Message-ID:  <201404180757.s3I7v1Vi032759@m9-64.freebsd.cz>
Resent-Message-ID: <201404180820.s3I8K1Q9053039@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404180757.s3I7v1Vi032759>