Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Aug 2006 00:15:24 +0200
From:      Jona Joachim <jaj13@web.de>
To:        shaun@FreeBSD.org,  freebsd-ports@FreeBSD.org
Subject:   Re: Troubles with MASTER_SITES
Message-ID:  <44EA307C.6070403@web.de>
In-Reply-To: <20060821215144.GA2649@picobyte.net>
References:  <44EA14CA.7070604@web.de> <20060821215144.GA2649@picobyte.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Shaun Amott wrote:
> On Mon, Aug 21, 2006 at 10:17:14PM +0200, Jona Joachim wrote:
>> I must be missing something obvious with MASTER_SITES.
>> If you consider the devel/tigcc port which I maintain you can read:
>>
>> MASTER_SITES=		${MASTER_SITE_GCC}:gcc \
>> 			${MASTER_SITE_GNU}:gas \
> 
> The problem is that you are taking the value of ${MASTER_SITE_xxx} and
> sticking the site-group on the end - i.e., on the last site in either
> group.
> 
> To fix this, change the above lines to:
> 
> MASTER_SITES=		${MASTER_SITE_GCC:S/$/:gcc/} \
> 			${MASTER_SITE_GNU:S/$/:gas/} \
> 
> This will attach :gcc and :gas to the end of each individual site.

That did the trick.
I should have read this part of the Porter's Handbook more carefully.
Thanks a lot!



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