Thursday, January 19, 2017
FreeBSD make install – Accept default config
FreeBSD make install – Accept default config
Using FreeBSD ports means compiling software by executing make install clean. This is great since it automatically fetches the dependencies then compile them.
using make install clean, most of the packages have configuration options in which I have to manually choose the options. So if I install packageA with a lot of dependencies, those dependencies may have each a configuration option in which I have to select.
To select default Configuration i know 3 options that you can make use :
1.
For csh-based Shell:
# setenv BATCH yes
OR for sh-based Shell:
# export BATCH=yes
2.
# make -DBATCH install clean
3.
# make config-recursive
usually to get all of the options displayed for you to choose upfront. I say usually because not all ports support it, but most do.
Having BATCH Variable also should work for portupgrade:
For csh-based Shell:
# setenv BATCH yes
OR for sh-based Shell:
# export BATCH=yes
To select default Configuration i know 3 options that you can make use :
1.
For csh-based Shell:
# setenv BATCH yes
OR for sh-based Shell:
# export BATCH=yes
2.
# make -DBATCH install clean
3.
# make config-recursive
usually to get all of the options displayed for you to choose upfront. I say usually because not all ports support it, but most do.
Having BATCH Variable also should work for portupgrade:
For csh-based Shell:
# setenv BATCH yes
OR for sh-based Shell:
# export BATCH=yes
Available link for download