Troubles with MASTER_SITES

Shaun Amott shaun at FreeBSD.org
Mon Aug 21 21:51:47 UTC 2006


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.

-- 
Shaun Amott [ PGP: 0x6B387A9A ]
    Scientia Est Potentia.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060821/fd73bcbb/attachment.pgp


More information about the freebsd-ports mailing list