From owner-freebsd-questions@FreeBSD.ORG Sat Jan 29 19:25:34 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 B0B9B16A4CE for ; Sat, 29 Jan 2005 19:25:34 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DFCC43D1F for ; Sat, 29 Jan 2005 19:25:34 +0000 (GMT) (envelope-from gert.cuykens@gmail.com) Received: by rproxy.gmail.com with SMTP id f1so630421rne for ; Sat, 29 Jan 2005 11:25:33 -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=gs1xtN5hdzFY10e86IAXBHgsG/bKYpARZYiK2eF6jZlTRyOlPzTwhFdGmHl0CTnWM4w9DE6sOZTGt9uMXRbgw7WjMb/hEzfYynuJkFlotYqbIEM5CCQpP3MPrQodp7gJSZC9VXiATDiq1he6fsBryuYlUgD5drL4nBUKiRmPPLg= Received: by 10.38.125.12 with SMTP id x12mr72821rnc; Sat, 29 Jan 2005 11:25:33 -0800 (PST) Received: by 10.38.74.6 with HTTP; Sat, 29 Jan 2005 11:25:33 -0800 (PST) Message-ID: Date: Sat, 29 Jan 2005 20:25:33 +0100 From: Gert Cuykens To: Phil Schulz In-Reply-To: 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:25:34 -0000 On Sat, 29 Jan 2005 20:21:08 +0100, Gert Cuykens wrote: > 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 :) > damn forgot to rename currentdependencies to dependencies > main{ > newdependencies= yes; > dependencies = make pretty-print-run-depends-list; > > WHILE newdependencies=yes DO > configure(dependencies); > dependencies=(make pretty-print-run-depends-list) - (dependencies) > IF dependencies = nulll { > newdependencies = no > } > } > > function configure(dependencies){ > WHILE dependencies DO{ > grep(dependencies,i); > make configure;} > } >