From owner-freebsd-questions@FreeBSD.ORG Sat Jan 29 19:21:10 2005 Return-Path: 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 DBBAE16A4CF for ; Sat, 29 Jan 2005 19:21:09 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BEF343D31 for ; Sat, 29 Jan 2005 19:21:09 +0000 (GMT) (envelope-from gert.cuykens@gmail.com) Received: by rproxy.gmail.com with SMTP id f1so629881rne for ; Sat, 29 Jan 2005 11:21:08 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=HFbqGUyq/pRVCBp5vXGNTA7kVIl+6O35NjhJX6q7ozcDE3H5l0RnnDMdxjqokBpS1Vo9ws3lkrzRFmkGxPq/4xhvsWNJBbmSmRURSz7JJ6SjMchLXRemJuEi5HuSD1H2jizPYaTo5nQFDdZg741FxWJgk1rLtnL6ErFEW5sYJJU= Received: by 10.38.125.59 with SMTP id x59mr135739rnc; Sat, 29 Jan 2005 11:21:08 -0800 (PST) Received: by 10.38.74.6 with HTTP; Sat, 29 Jan 2005 11:21:08 -0800 (PST) Message-ID: Date: Sat, 29 Jan 2005 20:21:08 +0100 From: Gert Cuykens To: Phil Schulz In-Reply-To: <41FBD8ED.1070503@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <41FBCF95.3020706@gmx.de> <41FBD8ED.1070503@gmx.de> cc: freebsd-questions@freebsd.org Subject: Re: message for port developers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Gert Cuykens List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jan 2005 19:21:10 -0000 On Sat, 29 Jan 2005 19:41:49 +0100, Phil Schulz wrote: > On 01/29/05 19:27, Gert Cuykens wrote: > > On Sat, 29 Jan 2005 19:22:18 +0100, Gert Cuykens wrote: > > > >>On Sat, 29 Jan 2005 19:17:46 +0100, Gert Cuykens wrote: > >> > >>>On Sat, 29 Jan 2005 19:01:57 +0100, Phil Schulz wrote: > >>> > >>>>I'm not a port developer but I think you are looking for either `make > >>>>configure` or the BATCH variable. > >>>> > >>>> If you know which ports you want to install on your system, you can do > >>>>a `make configure' for each port (where it is availeable) and then have > >>>>a skript fire up the `make install's. I'm not sure though if that works > >>>>recursively, i.e. you run `make configure' for e.g. the Gnome meta port > >>>>and you configure all the dependencies with that one command. Why don't > >>>>you try it? ;-) > >>>> If you think the default options are ok for you, you can add a line > >>>>like "BATCH=yes" in /etc/make.conf and the ports will be built w/o any > >>>>user interaction. Very useful for large builds. > >>>> > >>>>HTH, > >>>> > >>>>Phil. > >>>> > >>> > >>>BATCH=yes i can not do because some configuration leave some very nice toys out. > >>> > > If you know what specific options you are looking for, you could > configure the ports "by hand" and install them later. I think not all > ports can be build with BATCH defined, at least that's what ports(7) > suggests. > > >>>Now lets see you can call all dependencies with this if your index is working :) > >>> > >>>make pretty-print-build-depends-list > >>>so with some grep magic you could tell to do make config in all does > >>>dependencies. Now the trickie part how do you find out the new > >>>dependencies after does configure screens ? > >>> > >> > >>a maybe updating the index and do the same thing all over again until > >>there are no new dependencies ? > >> > > > > > > can you update the index after a configure that adds a extra > > dependencie to the port ? > > > > I don't know. > > I don't think it would be very efficient in terms of effort vs. use. How > many ports do you really want to install with non-default options? And > how often do you re-configure them? > > You probably want to wait for an opinion from someone else who knows > more, though. > > Phil. > Lest see how far we can get you have to help me do because i suck at development :) main{ newdependencies= yes; dependencies = make pretty-print-run-depends-list; WHILE newdependencies=yes DO configure(dependencies); dependencies=(make pretty-print-run-depends-list) - (currentdependencies) IF dependencies = nulll { newdependencies = no } } function configure(dependencies){ WHILE dependencies DO{ grep(dependencies,i); make configure;} }