Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jun 2000 17:04:35 -0400
From:      Will Andrews <andrews@technologist.com>
To:        James Housley <jim@thehousleys.net>
Cc:        Garrett Wollman <wollman@khavrinen.lcs.mit.edu>, Will Andrews <andrews@technologist.com>, ports@FreeBSD.ORG
Subject:   Re: cvs commit: ports/Mk bsd.sites.mk
Message-ID:  <20000620170435.B34982@argon.gryphonsoft.com>
In-Reply-To: <394FDB85.18B291B1@thehousleys.net>; from jim@thehousleys.net on Tue, Jun 20, 2000 at 05:00:53PM -0400
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <andrewsw@purdue.edu> <will@FreeBSD.org>
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




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