Chatty make

I've read, that in order to avoid prompts of type:
Code:
# make config
one should issue command:
Code:
# make install all

I am installing KDE4 and it drives me nuts with amounts of config prompts for each port on which it depends prior to make and installing.

Solution?
 
There is an environment variable called BATCH that you can set. It's documented in the ports(7) manpages.

Bourne: # export BATCH=yes
csh: # setenv BATCH yes

(This won't work for all ports. Some force interaction, and then they'll throw a fit if BATCH is set.)
 
Setting BATCH will work, but if you still want to see and set those port options all at once you can do:

Code:
make config-recursive

in the kde metaport directory. It's a good idea to run it twice (or until it stops showing configuration screens), because you might enable something on the first pass that has its own port options.
 
Back
Top