From owner-freebsd-questions Mon Nov 18 19:56:15 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 D8E2837B401 for ; Mon, 18 Nov 2002 19:56:13 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id A69E943E4A for ; Mon, 18 Nov 2002 19:56:10 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-a236.otenet.gr [212.205.215.236]) by mailsrv.otenet.gr (8.12.6/8.12.6) with ESMTP id gAJ3u6qD024301; Tue, 19 Nov 2002 05:56:08 +0200 (EET) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.6/8.12.6) with ESMTP id gAJ3u32a007915; Tue, 19 Nov 2002 05:56:05 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by gothmog.gr (8.12.6/8.12.6/Submit) id gAJ3tuWV007914; Tue, 19 Nov 2002 05:55:56 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Tue, 19 Nov 2002 05:55:53 +0200 From: Giorgos Keramidas To: Erik Trulsson Cc: "Scott I. Remick" , FreeBSD Subject: Re: prefetching port dependencies Message-ID: <20021119035552.GD2435@gothmog.gr> References: <20021118223109.60438.qmail@web41109.mail.yahoo.com> <20021118224201.GA1555@student.uu.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021118224201.GA1555@student.uu.se> 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 2002-11-18 23:42, Erik Trulsson wrote: > On Mon, Nov 18, 2002 at 02:31:09PM -0800, Scott I. Remick wrote: > > 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: > > 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.) Yep, that works great :) I'd only like to add a handy tip to avoid surprises later when building the ports. If you plan to build the ports with options different from the port defaults (such as WITHOUT_X11=yes or WITH_SSL=yes), it is a good idea to pass the exact same options to "make fetch-recursive" too. Some times, depending on what options are selected a port automagically downloads different patches or distfiles. By passing the same options in both "make fetch..." and later "make install" command lines, you will be sure that the port won't decide to fetch some extra stuff when you start building it while offline. Giorgos. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message