Building Ports: Is there a "make" equivalent for --batch ?

Jamie Paul Griffin jamie at kode5.net
Mon Oct 8 10:52:36 UTC 2012


[ John Levine wrote on Mon  8.Oct'12 at  2:42:33 -0000 ]

> >    ... Note that setting the BATCH environment variable to yes will answer
> >    yes to any prompts during this process, removing the need for manual
> >    intervention during the build process.
> >
> >(This was said with respect to upgrading ports via portupgrade.)
> 
> Or you can use portmaster, which runs through all the ports first and
> does the config dialogs before starting the rebuild.  There are stil
> a few places it can get stuck, but many fewer than portupgrade.
> 
> Portmaster is worth a look just out of amazement. It is a 4,000 line
> shell script.

Yes, I use this myself and it is very good. I used to use portupgrade but changed when I started using 9.x, i'm not sure why. 
But to learn it's 4000 line shell is quite amazing. Its author must have some excellent shell wizardry skills! :-)


More information about the freebsd-questions mailing list