From owner-freebsd-ports Tue Jun 20 14: 6:25 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 5421237B553 for ; Tue, 20 Jun 2000 14:06:22 -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 RAA03968; Tue, 20 Jun 2000 17:06:12 -0400 Received: by argon.gryphonsoft.com (Postfix, from userid 1000) id 573BB188D; Tue, 20 Jun 2000 17:04:35 -0400 (EDT) Date: Tue, 20 Jun 2000 17:04:35 -0400 From: Will Andrews To: James Housley Cc: Garrett Wollman , Will Andrews , ports@FreeBSD.ORG Subject: Re: cvs commit: ports/Mk bsd.sites.mk Message-ID: <20000620170435.B34982@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> <394FDB85.18B291B1@thehousleys.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <394FDB85.18B291B1@thehousleys.net>; from jim@thehousleys.net on Tue, Jun 20, 2000 at 05:00:53PM -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 05:00:53PM -0400, James Housley wrote: > What about something like: > REGION?= USA # Region where you are located values of USA, EUROPE, ASIA, > AUSTRALIA > MASTER_SITE_XCONTRIB+=$MASTER_SITE_XCONTRIB_$REGION > for i in (regions) > if $i != $REGION then > MASTER_SITE_XCONTRIB+=$MASTER_SITE_XCONTRIB_$i > fi > end > > I know it is not perfect Makefile code but the logic is to all the > regions sites first then the rest of them. you probably meant something like: .if defined(REGION) MASTER_SITE_XCONTRIB= ... .endif MASTER_SITE_XCONTRIB+= [... normal definitions ...] [...] That's another thing to consider, I suppose. Any other bright ideas? -- 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