Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Oct 2010 02:08:26 -0400 (EDT)
From:      Sahil Tandon <sahil@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        c0rn@o2.pl
Subject:   ports/151676: [PATCH] deskutils/treeline: fix MASTER_SITES:n usage
Message-ID:  <20101024060826.249C917131@spartan.hamla.org>
Resent-Message-ID: <201010240610.o9O6A9ra022848@freefall.freebsd.org>

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

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



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