Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2002 14:59:45 -0800
From:      Pete Fritchman <petef@absolutbsd.org>
To:        Daniel Eischen <eischen@vigrid.com>
Cc:        ports@freebsd.org
Subject:   Re: Help with MASTER_SITE_SUBDIR
Message-ID:  <20021227225945.GE15135@absolutbsd.org>
In-Reply-To: <3E0CD02B.416F77C1@vigrid.com>
References:  <3E0C6785.5E9B663C@vigrid.com> <20021227171635.GB15135@absolutbsd.org> <3E0CD02B.416F77C1@vigrid.com>

next in thread | previous in thread | raw e-mail | index | archive | help
++ 27/12/02 17:11 -0500 - Daniel Eischen:
| > | Shouldn't it try appending MASTER_SITE_SUBDIRs before falling
| > | back to ftp.FreeBSD.org?
| > 
| > You have to include %SUBDIR% where you want the MASTER_SITE_SUBDIR
| > directories to be inserted.
| 
| Huh?  Please elaborate.  I don't see any use of %SUBDIR% in
| lang/gcc28/Makefile.  From everything I've seen, one only needs
| to set MASTER_SITE_SUBDIR and ports/Mk/*.mk is suppose to take
| care of the rest.

But it's there, from gcc28/Makefile:

MASTER_SITES=   ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR=     gcc

... and MASTER_SITE_GNU expands to:

skull(/usr/ports/lang/gcc28) [124] > make -V MASTER_SITE_GNU
ftp://ftp.gnu.org/gnu/%SUBDIR%/ ftp://gatekeeper.dec.com/pub/GNU/%SUBDIR%/ [...]

Say you have this:

MASTER_SITES=	http://foo/dist/%SUBDIR%/
MASTER_SITE_SUBDIR=	. old

The port would then try to fetch from http://foo/dist/, and then from
http://foo/dist/old/.

--pete

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?20021227225945.GE15135>