ports/151672: [PATCH] lang/gnat: fix MASTER_SITES:n usage
Sahil Tandon
sahil at FreeBSD.org
Sun Oct 24 06:00:21 UTC 2010
>Number: 151672
>Category: ports
>Synopsis: [PATCH] lang/gnat: 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:20 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Sahil Tandon
>Release: FreeBSD 9.0-CURRENT i386
>Organization:
>Environment:
>Description:
We don't need to set PORTREVISION to 0 since that is the
default, and ...
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:
--- gnat.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/lang/gnat/Makefile,v
retrieving revision 1.64
diff -u -r1.64 Makefile
--- Makefile 30 Sep 2010 16:53:28 -0000 1.64
+++ Makefile 24 Oct 2010 00:17:48 -0000
@@ -14,9 +14,8 @@
PORTNAME= gnat
PORTVERSION= 2010
-PORTREVISION= 0
CATEGORIES= lang
-MASTER_SITES= ${MASTER_SITE_LOCAL}:boot
+MASTER_SITES= ${MASTER_SITE_LOCAL:S/$/:boot/}
MASTER_SITE_SUBDIR= deischen/gcc/:boot
DISTFILES= ${gcc_srcfile}:gcc ${gnat_srcfile}:gnat
--- gnat.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list