ports/151676: [PATCH] deskutils/treeline: fix MASTER_SITES:n usage

Sahil Tandon sahil at FreeBSD.org
Sun Oct 24 06:10:10 UTC 2010


>Number:         151676
>Category:       ports
>Synopsis:       [PATCH] deskutils/treeline: fix MASTER_SITES:n usage
>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:   Sun Oct 24 06:10:09 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Sahil Tandon
>Release:        FreeBSD 9.0-CURRENT i386
>Organization:
>Environment:

	
>Description:
Fix MASTER_SITES:n usage so that the ":n" postfix is added 
to *all* elements of MASTER_SITE_BERLIOS, not just the final
one.  To observe the difference, run the following command
while inside the port's dir before and after applying the
patch:

% make -V MASTER_SITES
>How-To-Repeat:
	
>Fix:

	



--- treeline.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/deskutils/treeline/Makefile,v
retrieving revision 1.23
diff -u -r1.23 Makefile
--- Makefile	30 Sep 2010 04:27:12 -0000	1.23
+++ Makefile	24 Oct 2010 06:05:39 -0000
@@ -8,10 +8,10 @@
 PORTNAME=	treeline
 PORTVERSION=	1.2.4
 CATEGORIES=	deskutils python
-MASTER_SITES=	${MASTER_SITE_BERLIOS}:treeline \
+MASTER_SITES=	${MASTER_SITE_BERLIOS:S/$/:treeline/} \
 		http://treeline.bellz.org/plugins/:plugins \
 		http://depot.fsck.ch/mirror/distfiles/:treeline,plugins
-MASTER_SITE_SUBDIR=treeline
+MASTER_SITE_SUBDIR=treeline/:treeline
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:treeline
 EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
 
--- treeline.diff ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list