From nobody@FreeBSD.org  Wed Feb 24 20:15:16 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 6025C1065673
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 24 Feb 2010 20:15:16 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 4ECD88FC13
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 24 Feb 2010 20:15:16 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o1OKFF91065384
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 24 Feb 2010 20:15:15 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o1OKFFbu065383;
	Wed, 24 Feb 2010 20:15:15 GMT
	(envelope-from nobody)
Message-Id: <201002242015.o1OKFFbu065383@www.freebsd.org>
Date: Wed, 24 Feb 2010 20:15:15 GMT
From: Fabian Keil <fk@fabiankeil.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [MAINTAINER] Run-dependency fix for www/privoxy's WITH_PRIVOXY_TOOLS option
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         144268
>Category:       ports
>Synopsis:       [MAINTAINER] Run-dependency fix for www/privoxy's WITH_PRIVOXY_TOOLS option
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    amdmi3
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 24 20:20:01 UTC 2010
>Closed-Date:    Sat Mar 06 19:20:03 UTC 2010
>Last-Modified:  Sat Mar  6 19:30:02 UTC 2010
>Originator:     Fabian Keil
>Release:        HEAD
>Organization:
>Environment:
>Description:
The attached patch fixes www/privoxy's recently added run dependency
on curl. If the WITH_PRIVOXY_TOOLS option is set and curl is already
installed, www/privoxy will not detect this, try to install the already
installed curl port and fail.

It works if the option isn't set (the default), or if curl isn't
already installed.

This bug has been spotted and reported to me by Klaus T. Aehlig.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -u -ur .zfs/snapshot/2010-02-24/www/privoxy/Makefile www/privoxy/Makefile
--- .zfs/snapshot/2010-02-24/www/privoxy/Makefile	2010-02-24 20:29:18.110252001 +0100
+++ www/privoxy/Makefile	2010-02-24 20:55:55.407866362 +0100
@@ -7,6 +7,7 @@
 
 PORTNAME=	privoxy
 PORTVERSION=	3.0.16
+PORTREVISION=	1
 CATEGORIES=	www ipv6
 MASTER_SITES=	SF/ijbswa/Sources/${PORTVERSION}%20%28stable%29
 DISTNAME=	privoxy-${PORTVERSION}-stable-src
@@ -66,7 +67,7 @@
 
 .if defined(WITH_PRIVOXY_TOOLS)
 USE_PERL5_RUN=	yes
-RUN_DEPENDS+=	curl.5:${PORTSDIR}/ftp/curl
+RUN_DEPENDS+=	curl:${PORTSDIR}/ftp/curl
 PLIST_SUB+=	PRIVOXY_TOOLS=""
 .else
 PLIST_SUB+=	PRIVOXY_TOOLS="@comment "
Only in www/privoxy: Makefile~


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->amdmi3 
Responsible-Changed-By: amdmi3 
Responsible-Changed-When: Sat Mar 6 14:18:56 UTC 2010 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=144268 
State-Changed-From-To: open->closed 
State-Changed-By: amdmi3 
State-Changed-When: Sat Mar 6 19:20:02 UTC 2010 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=144268 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/144268: commit references a PR
Date: Sat,  6 Mar 2010 19:20:12 +0000 (UTC)

 amdmi3      2010-03-06 19:19:57 UTC
 
   FreeBSD ports repository
 
   Modified files:
     www/privoxy          Makefile 
   Log:
   - Fix dependency on curl
   
   PR:             144268
   Submitted by:   Fabian Keil <fk@fabiankeil.de> (maintainer)
   Reported by:    Klaus T. Aehlig
   Feature safe:   yes
   
   Revision  Changes    Path
   1.29      +2 -1      ports/www/privoxy/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
