From owner-cvs-all Sat May 18 19:13:51 2002 Delivered-To: cvs-all@freebsd.org Received: from mail.musha.org (daemon.musha.org [218.44.187.2]) by hub.freebsd.org (Postfix) with ESMTP id 2D94D37B408; Sat, 18 May 2002 19:13:37 -0700 (PDT) Received: from daemon.musha.org (daemon.local.idaemons.org [192.168.1.1]) by mail.musha.org (Postfix) with ESMTP id 12FA34D853; Sun, 19 May 2002 11:13:35 +0900 (JST) Date: Sun, 19 May 2002 11:13:34 +0900 Message-ID: <86vg9kanqp.wl@daemon.musha.org> From: "Akinori MUSHA" To: tobez@FreeBSD.org Cc: Will Andrews , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/Mk bsd.sites.mk 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> User-Agent: Wanderlust/2.9.9 (Unchained Melody) SEMI/1.14.3 (Ushinoya) LIMIT/1.14.7 (Fujiidera) APEL/10.3 MULE XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386--freebsd) Organization: Associated I. Daemons X-PGP-Public-Key: finger knu@FreeBSD.org X-PGP-Fingerprint: 081D 099C 1705 861D 4B70 B04A 920B EFC7 9FD9 E1EE MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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