From dan@m9-64.freebsd.cz  Fri Apr 18 08:10:09 2014
Return-Path: <dan@m9-64.freebsd.cz>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 8460C691
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 18 Apr 2014 08:10:09 +0000 (UTC)
Received: from m9-64.freebsd.cz (m9-64.freebsd.cz [195.113.20.201])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client did not present a certificate)
	by mx1.freebsd.org (Postfix) with ESMTPS id 1231F11B9
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 18 Apr 2014 08:10:07 +0000 (UTC)
Received: from m9-64.freebsd.cz (localhost [127.0.0.1])
	by m9-64.freebsd.cz (8.14.5/8.14.5) with ESMTP id s3I7v1uC032760
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 18 Apr 2014 09:57:01 +0200 (CEST)
	(envelope-from dan@m9-64.freebsd.cz)
Received: (from root@localhost)
	by m9-64.freebsd.cz (8.14.5/8.14.5/Submit) id s3I7v1Vi032759;
	Fri, 18 Apr 2014 09:57:01 +0200 (CEST)
	(envelope-from dan)
Message-Id: <201404180757.s3I7v1Vi032759@m9-64.freebsd.cz>
Date: Fri, 18 Apr 2014 09:57:01 +0200 (CEST)
From: Dan Lukes <dan@obluda.cz>
Reply-To: Dan Lukes <dan@obluda.cz>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [ patch ] hidden dependency to Avahi in cups-image, cups-client
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         188751
>Category:       ports
>Synopsis:       [patch] hidden dependency to Avahi in print/cups-image, print/cups-client
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 18 08:20:00 UTC 2014
>Closed-Date:    Mon May 19 19:14:40 UTC 2014
>Last-Modified:  Mon May 19 19:14:40 UTC 2014
>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:
	Install 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:
Responsible-Changed-From-To: freebsd-ports-bugs->pi 
Responsible-Changed-By: pi 
Responsible-Changed-When: Mon May 19 18:46:29 UTC 2014 
Responsible-Changed-Why:  
included in upcoming patch 

http://www.freebsd.org/cgi/query-pr.cgi?pr=188751 
State-Changed-From-To: open->closed 
State-Changed-By: pi 
State-Changed-When: Mon May 19 19:14:38 UTC 2014 
State-Changed-Why:  
Committed, see PR 188550 for the commit log. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=188751 
>Unformatted:
