When I install a port, I am often presented with a menu screen to select configuration options. If I'm going to install a really big package with lots of dependencies, that will be extremely inconvenient. Is there a make flag for accepting the default answers for all such prompts?
FreeBSD – How to Avoid Prompts When Installing a FreeBSD Port
bsd-portsfreebsd
Best Answer
Probably
BATCH
, described in ports(7), is what you're looking for:make rmconfig
removesOPTIONS
config for this port, and you can use it to removeOPTIONS
which were previously saved when you configured and installedscreen(1)
the first time.OPTIONS
are stored to directory which is specifed viaPORT_DB_DIR
(defaults to/var/db/ports
).If you use bash,
BATCH
can be set automatically every time you log in: