Date: Fri, 27 Dec 2002 18:23:19 -0500 (EST) From: Daniel Eischen <eischen@pcnet1.pcnet.com> To: Pete Fritchman <petef@absolutbsd.org> Cc: Daniel Eischen <eischen@vigrid.com>, ports@freebsd.org Subject: Re: Help with MASTER_SITE_SUBDIR Message-ID: <Pine.GSO.4.10.10212271819520.508-100000@pcnet1.pcnet.com> In-Reply-To: <20021227225945.GE15135@absolutbsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 27 Dec 2002, Pete Fritchman wrote: > ++ 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 Yes, I know that much. Please look at lang/Makefile. I have: MASTER_SITES= ftp://cs.nyu.edu/pub/gnat/${PORTVERSION}/:gnat \ ${MASTER_SITE_LOCAL}:boot \ ${MASTER_SITE_GNU}:gcc MASTER_SITE_SUBDIR= gcc deischen/gcc . It doesn't work as advertised. Try it from lang/gnat. > ... 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 -- Dan Eischen 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?Pine.GSO.4.10.10212271819520.508-100000>