Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Oct 2010 01:53:23 -0400 (EDT)
From:      Sahil Tandon <sahil@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gahr@FreeBSD.org
Subject:   ports/151671: [PATCH] lang/g95: fix MASTER_SITES:n usage 
Message-ID:  <20101024055323.67BA31711C@spartan.hamla.org>
Resent-Message-ID: <201010240600.o9O60KBu010075@freefall.freebsd.org>

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

>Number:         151671
>Category:       ports
>Synopsis:       [PATCH] lang/g95: 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:19 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:

	



--- g95.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/lang/g95/Makefile,v
retrieving revision 1.17
diff -u -r1.17 Makefile
--- Makefile	1 Apr 2010 06:44:47 -0000	1.17
+++ Makefile	24 Oct 2010 05:32:24 -0000
@@ -8,10 +8,10 @@
 PORTNAME=	g95
 PORTVERSION=	${G95VERSION}.${SNAPDATE}
 CATEGORIES=	lang
-MASTER_SITES=	${MASTER_SITE_LOCAL}:g95 \
+MASTER_SITES=	${MASTER_SITE_LOCAL:S/$/:g95/} \
     		http://people.freebsd.org/~gahr/distfiles/:g95 \
 		${MASTER_SITE_GCC:S/$/:gcc/}
-MASTER_SITE_SUBDIR=	gahr:g95 \
+MASTER_SITE_SUBDIR=	gahr/:g95 \
     			releases/gcc-${GCCVERSION}/:gcc
 DISTFILES=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:g95 \
     		gcc-core-${GCCVERSION}${EXTRACT_SUFX}:gcc
--- g95.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?20101024055323.67BA31711C>