Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 May 2002 11:13:34 +0900
From:      "Akinori MUSHA" <knu@iDaemons.org>
To:        tobez@FreeBSD.org
Cc:        Will Andrews <will@csociety.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: ports/Mk bsd.sites.mk
Message-ID:  <86vg9kanqp.wl@daemon.musha.org>
In-Reply-To: <20020519015312.GS53809@squall.waterspout.com>
References:  <200205181847.g4IIld917658@freefall.freebsd.org> <20020519010944.GR53809@squall.waterspout.com> <20020518181718.A9763@dragon.nuxi.com> <20020519015312.GS53809@squall.waterspout.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At Sat, 18 May 2002 20:53:12 -0500,
will wrote:
> On Sat, May 18, 2002 at 06:17:18PM -0700, David O'Brien wrote:
> > When there are sources at two different sites, and one of the sites is a
> > meta-site (ie, MASTER_SITE_FOO), one will have to go thru all 22 of the
> > MASTER_SITE_FOO if it is listed first.
> > 
> > Please optimize the perl5 port.  It is in a ridiculous shape fetch-wise
> > right now.
> 
> Surely you can do it -- there are plenty of examples on how to
> localize a set of MASTER_SITES to specific distfiles, and you've

The lang/perl5 port really should use the MASTER_SITES :foo trick.

How about the enclosed fix?

-- 
                     /
                    /__  __            Akinori.org / MUSHA.org
                   / )  )  ) )  /     FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ /  ( (__(  @ iDaemons.org / and.or.jp

"Somewhere out of a memory.. of lighted streets on quiet nights.."

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/lang/perl5/Makefile,v
retrieving revision 1.40
diff -u -r1.40 Makefile
--- Makefile	19 Dec 2001 17:05:04 -0000	1.40
+++ Makefile	19 May 2002 02:08:38 -0000
@@ -11,9 +11,11 @@
 CATEGORIES=	lang devel perl5
 # If you don't use MASTER_SITE_OVERRIDE set to one of the
 # ftp.FreeBSD.org mirrors, fetching will be *very* slow.
-MASTER_SITES=	${MASTER_SITE_LOCAL} ${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR=	../../src tobez
-DISTFILES=	${DISTNAME}${EXTRACT_SUFX} BSDPAN-${PORTVERSION}${EXTRACT_SUFX}
+MASTER_SITES=	${MASTER_SITE_PERL_CPAN} \
+		${MASTER_SITE_LOCAL:S/$/:local/}
+MASTER_SITE_SUBDIR=	../../src tobez/:local
+DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
+		BSDPAN-${PORTVERSION}${EXTRACT_SUFX}:local
 
 MAINTAINER=	tobez@FreeBSD.org
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86vg9kanqp.wl>