From owner-freebsd-questions Wed Jun 9 18:56:55 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.HiWAAY.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id 8D52314D9E for ; Wed, 9 Jun 1999 18:56:52 -0700 (PDT) (envelope-from dkelly@nospam.hiwaay.net) Received: from nospam.hiwaay.net (tnt8-216-180-15-50.dialup.HiWAAY.net [216.180.15.50]) by mail.HiWAAY.net (8.9.1a/8.9.0) with ESMTP id UAA21934; Wed, 9 Jun 1999 20:56:50 -0500 (CDT) Received: from nospam.hiwaay.net (nospam.hiwaay.net [127.0.0.1]) by nospam.hiwaay.net (8.9.3/8.9.3) with ESMTP id UAA48114; Wed, 9 Jun 1999 20:56:45 -0500 (CDT) (envelope-from dkelly@nospam.hiwaay.net) Message-Id: <199906100156.UAA48114@nospam.hiwaay.net> X-Mailer: exmh version 2.0.2 2/24/98 To: Doug White Cc: freebsd-questions@FreeBSD.ORG From: David Kelly Subject: Re: /usr/ports: recursive "make fetch"? In-reply-to: Message from Doug White of "Wed, 09 Jun 1999 15:17:52 PDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 09 Jun 1999 20:56:44 -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Doug White writes: > On Mon, 7 Jun 1999, David Kelly wrote: > > > On my dialup connection I'd like to be able to prefetch all the > > elements of a complex port such as /usr/ports/x11/kde11. Then drop the > > line. And *then* compile. > > > > "make fetch" does not recurse into the sub-ports of a combinded port > > such as kde11. I'm interested in a fetch which walks the tree much like > > "make clean". > > You need to drop a bit further into the build, where it starts resolving > dependencies. Try doing 'make extract', although I know there are some > other dependencies picked up in the install phase. > > Optionally, you can 'make fetch' the required packages by looking at the > kde11 Makefile and looking for the *_DEPENDS lines. It will want any > ports listed there. Yup. And then you have to recurse thru *those* ports looking for the _DEPENDS stuff... The proper place to do this is in the /usr/share/mk/ stuff. Probably a new target, "rfetch". One day I'll look into it closer but for now wanted to put the bug in somebody's ear, and possibly inspire them to do it for me. :-) -- David Kelly N4HHE, dkelly@nospam.hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message