ports/151671: [PATCH] lang/g95: fix MASTER_SITES:n usage
Sahil Tandon
sahil at FreeBSD.org
Sun Oct 24 06:00:20 UTC 2010
>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:
More information about the freebsd-ports-bugs
mailing list