From owner-freebsd-ports Tue Jun 20 13:57:18 2000 Delivered-To: freebsd-ports@freebsd.org Received: from server1.mich.com (server1.mich.com [198.108.16.2]) by hub.freebsd.org (Postfix) with ESMTP id 182BB37B553 for ; Tue, 20 Jun 2000 13:57:14 -0700 (PDT) (envelope-from will@almanac.yi.org) Received: from argon.gryphonsoft.com (pm016-021.dialup.bignet.net [64.79.82.229]) by server1.mich.com (8.9.3/8.9.3) with ESMTP id QAA01406; Tue, 20 Jun 2000 16:56:50 -0400 Received: by argon.gryphonsoft.com (Postfix, from userid 1000) id 48F41188D; Tue, 20 Jun 2000 16:55:10 -0400 (EDT) Date: Tue, 20 Jun 2000 16:55:10 -0400 From: Will Andrews To: Garrett Wollman Cc: Will Andrews , ports@FreeBSD.org Subject: Re: cvs commit: ports/Mk bsd.sites.mk Message-ID: <20000620165510.A34982@argon.gryphonsoft.com> References: <200006200648.XAA21323@freefall.freebsd.org> <200006201507.LAA34568@khavrinen.lcs.mit.edu> <20000620163806.F32776@argon.gryphonsoft.com> <200006202051.QAA36213@khavrinen.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200006202051.QAA36213@khavrinen.lcs.mit.edu>; from wollman@khavrinen.lcs.mit.edu on Tue, Jun 20, 2000 at 04:51:38PM -0400 X-Operating-System: FreeBSD 5.0-CURRENT i386 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Jun 20, 2000 at 04:51:38PM -0400, Garrett Wollman wrote: > Sure we could. Just have the user provide something like Hmm... very interesting idea. Is there some way we could key in the timezone? We can depend on this to select the correct region, and allow a MASTER_SITE_REGION override in make.conf. What do you think ? > `MASTER_SITE_REGION', and then switch the other MASTER_SITE_* defaults > based on its contents. E.g.: > > .if "${MASTER_SITE_REGION}" == "US-East" > MASTER_SITE_XCONTRIB+= ftp://ftp5.freebsd.org/pub/X/contrib/%SUBDIR%/ \ > ftp://ftp.duke.edu/pub/X11/contrib/%SUBDIR%/ > .endif > .if "${MASTER_SITE_REGION}" == "Europe" > MASTER_SITE_XCONTRIB+= ftp://ftp.gwdg.de/pub/x11/x.org/contrib/%SUBDIR%/ \ > ftp://ftp.sunet.se/pub/X11/contrib/%SUBDIR%/ > .endif > # ... > MASTER_SITE_XCONTRIB+= ftp://ftp.x.org/contrib/%SUBDIR%/ > > (where the last one is the canonical location). Nice patch. I wonder how I missed that one. -- Will Andrews GCS/E/S @d- s+:+>+:- a--->+++ C++ UB++++ P+ L- E--- W+++ !N !o ?K w--- ?O M+ V-- PS+ PE++ Y+ PGP+>+++ t++ 5 X++ R+ tv+ b++>++++ DI+++ D+ G++>+++ e->++++ h! r-->+++ y? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message