Troubles with MASTER_SITES

Jona Joachim jaj13 at web.de
Mon Aug 21 22:15:51 UTC 2006


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!


More information about the freebsd-ports mailing list