From owner-freebsd-questions Mon Nov 18 14:42:11 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FDED37B401 for ; Mon, 18 Nov 2002 14:42:10 -0800 (PST) Received: from hamberg.it.uu.se (hamberg.it.uu.se [130.238.9.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD0E143E91 for ; Mon, 18 Nov 2002 14:42:08 -0800 (PST) (envelope-from ertr1013@csd.uu.se) Received: (from ertr1013@localhost) by hamberg.it.uu.se (8.8.5/8.8.5) id XAA19406; Mon, 18 Nov 2002 23:42:01 +0100 (MET) Date: Mon, 18 Nov 2002 23:42:01 +0100 From: Erik Trulsson To: "Scott I. Remick" Cc: FreeBSD Subject: Re: prefetching port dependencies Message-ID: <20021118224201.GA1555@student.uu.se> References: <20021118223109.60438.qmail@web41109.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021118223109.60438.qmail@web41109.mail.yahoo.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Nov 18, 2002 at 02:31:09PM -0800, Scott I. Remick wrote: > Quick question: > > I'm getting interested in using portupgrade -FR to prefetch a port's source > and its dependencies (and maybe even run the fetching in a 2nd session while > other parts are compiling). But I can only get it to work on stuff that is > already installed. It works great then. > > Is there an equivalent means to prefetch dependencies for a port that ISN'T > installed yet? For example, I hadn't installed mozilla yet on this box but > when I ran: > > portupgrade -FR mozilla-devel > > I got an error that there was no such package installed. > > Sorry if this is a newbie question. > > [I tried to research this but case-insensitivity (-fr is diff than -FR) in > search engines was making it useless.] Go to the desired port and do a 'make fetch-recursive'. This will fetch all the distfiles of the port and all its dependencies. (Doing a 'make checksum-recursive' is an even better idea since that will check all the checksums of the distfiles too.) -- Erik Trulsson ertr1013@student.uu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message