ports/144268: [MAINTAINER] Run-dependency fix for www/privoxy's WITH_PRIVOXY_TOOLS option

Fabian Keil fk at fabiankeil.de
Wed Feb 24 20:20:02 UTC 2010


>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:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 24 20:20:01 UTC 2010
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list