ports/151674: [PATCH] sysutils/sge61: fix MASTER_SITES:n usage

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


>Number:         151674
>Category:       ports
>Synopsis:       [PATCH] sysutils/sge61: 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:22 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:

	



--- sge61.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/sysutils/sge61/Makefile,v
retrieving revision 1.43
diff -u -r1.43 Makefile
--- Makefile	31 May 2010 02:01:07 -0000	1.43
+++ Makefile	24 Oct 2010 05:43:24 -0000
@@ -11,8 +11,8 @@
 CATEGORIES=	sysutils parallel
 MASTER_SITES=	http://gridengine.sunsource.net/files/documents/7/169/:src \
 		http://gridengine.sunsource.net/download/SGE61/:bin \
-		${MASTER_SITE_LOCAL}:src,bin
-MASTER_SITE_SUBDIR=	brooks
+		${MASTER_SITE_LOCAL:S/$/:src,bin/}
+MASTER_SITE_SUBDIR=	brooks/:src,bin
 DISTNAME=	ge-V${SGE_RELEASE:S/.//}_TAG-src
 DISTFILES=	${DISTNAME}.tar.gz:src \
 		ge-${SGE_RELEASE}-common.tar.gz:bin
--- sge61.diff ends here ---

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



More information about the freebsd-ports-bugs mailing list