From owner-freebsd-ports Fri Dec 27 15: 2:29 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 90D4637B401 for ; Fri, 27 Dec 2002 15:02:28 -0800 (PST) Received: from analog.databits.net (analog.databits.net [198.78.65.155]) by mx1.FreeBSD.org (Postfix) with SMTP id 15DC743EB2 for ; Fri, 27 Dec 2002 15:02:28 -0800 (PST) (envelope-from petef@analog.databits.net) Received: (qmail 59972 invoked by uid 1000); 27 Dec 2002 22:59:45 -0000 Date: Fri, 27 Dec 2002 14:59:45 -0800 From: Pete Fritchman To: Daniel Eischen Cc: ports@freebsd.org Subject: Re: Help with MASTER_SITE_SUBDIR Message-ID: <20021227225945.GE15135@absolutbsd.org> References: <3E0C6785.5E9B663C@vigrid.com> <20021227171635.GB15135@absolutbsd.org> <3E0CD02B.416F77C1@vigrid.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E0CD02B.416F77C1@vigrid.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org ++ 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