# How can I stay clear of the motivates when mounting a FreeBSD port?

When I install a port, I am usually offered with a food selection screen to select arrangement alternatives. If I'm mosting likely to install an actually large plan with great deals of dependences, that will certainly be exceptionally bothersome. Exists a make flag for approving the default solutions for all such motivates?

0
2019-05-13 04:36:22
Source Share

This does not instantly approve defaults like you are asking, yet I such as the "make config - recursive" method which runs you via any kind of alternatives for the port you desire along with alternatives for all dependences. You do not need to transform anything if you do not intend to, yet you experience all option displays simultaneously as opposed to whenever the structure procedure gets to them.

As soon as that is done, your "make install clean" needs to go virtually neglected.

0
2019-12-03 03:20:07
Source

I assume it deserves stating that you could not constantly intend to do this. I appear to bear in mind, as an example, requiring to config emacs to add xft assistance. If you intend to bypass the motivates for a solitary construct,

make install clean BATCH=yes


will certainly function too.

0
2019-05-22 19:09:51
Source

Probably BATCH, defined in ports(7), is what you are seeking:

# cd /usr/ports/sysutils/screen
# export BATCH=yes
# make rmconfig
# make install clean

make rmconfig gets rid of OPTIONS config for this port, and also you can utilize it to remove OPTIONS which were formerly conserved when you set up and also mounted screen(1) the very first time. OPTIONS are saved to directory which is specifed using PORT_DB_DIR (defaults to /var/db/ports).
If you make use of celebration, BATCH can be set instantly every single time you visit:
# echo 'export BATCH=yes' >> ~/.bash_profile