Ports with GUI configs

RW fbsd06 at mlists.homeunix.com
Mon Nov 12 15:59:52 PST 2007


On Mon, 12 Nov 2007 22:54:33 +0100
Tino Engel <elrap at web.de> wrote:

> RW schrieb:
> > On Mon, 12 Nov 2007 16:10:29 -0500
> > Chuck Robey <chuckr at chuckr.org> wrote:
> >
> >   
> >> I hope not.  We really need to move this out of being a ports
> >> buildtime thing.  Currently, to build ports in batch either
> >> requires someone to be chained to the computer, so as to intercept
> >> all those screens, or to simply agree to install everything, with
> >> no inpput whatever. 
> >>     
> >
> > That's not correct, you can run make config-conditional or  make
> > config-recursive anytime you like.
> >
> >   
> But not on a portupgrade... I don't want to run config-recursive on
> the whole ports tree though....

It's not hard to script it though, something like the following would do

#!/bin/sh
for p in `pkg_version -ol'<' |awk '{ print $1 }'`; do
 cd  /usr/ports/${p} && make config-recursive 
done




More information about the freebsd-questions mailing list