Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Oct 2010 01:53:25 -0400 (EDT)
From:      Sahil Tandon <sahil@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        nox@FreeBSD.org
Subject:   ports/151673: [PATCH] emulators/qemu-devel: fix MASTER_SITES:n usage 
Message-ID:  <20101024055325.3279417173@spartan.hamla.org>
Resent-Message-ID: <201010240600.o9O60MlA010306@freefall.freebsd.org>

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

>Number:         151673
>Category:       ports
>Synopsis:       [PATCH] emulators/qemu-devel: 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:00:21 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_LOCAL, 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:

	



--- qemu-devel.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/emulators/qemu-devel/Makefile,v
retrieving revision 1.116
diff -u -r1.116 Makefile
--- Makefile	21 Oct 2010 21:40:14 -0000	1.116
+++ Makefile	24 Oct 2010 00:22:35 -0000
@@ -9,7 +9,7 @@
 PORTVERSION=	0.13.0
 CATEGORIES=	emulators
 MASTER_SITES=	SAVANNAH:release \
-		${MASTER_SITE_LOCAL}:snapshot \
+		${MASTER_SITE_LOCAL:S/$/:snapshot/} \
 		http://people.freebsd.org/~nox/qemu/:snapshot
 MASTER_SITE_SUBDIR=	qemu/:release nox/:snapshot
 PKGNAMESUFFIX=	-devel
--- qemu-devel.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?20101024055325.3279417173>