[Howto] Preconfigure all dependent ports on FreeBSD

By | March 24, 2012

This can be useful for meta-packages like Gnome or KDE. Take a few minutes to configure every package, then let it run. Make sure your shell is bash and that you’re in the port’s directory, and run:

for x in `make all-depends-list`; do cd $x; make config; done

Make sure to go back to the original directory and run “make config install”.

Alternatively, you can run the following to accept all default options:
<code>make -DBATCH install clean</code>

 

<Re-posted Jan 1st 2018>

Leave a Reply

Your email address will not be published. Required fields are marked *