How do I install ports hands-off?

Matthew Seaman m.seaman at
Thu Jan 4 21:05:52 UTC 2007

Atom Powers wrote:
> For most ports I can pkg_add them to get them installed without
> prompts. But for some ports I special make configurations that require
> me to build the port from source. Usually I use portinstall for this,
> but this causes problems if the make process requires additional
> input.
> How can I build a port using the default options, except those defined
> in make.conf, without requiring me to confirm the option for each
> port?

Add BATCH=yes to /etc/make.conf, or set it in your environment.



Dr Matthew J Seaman MA, D.Phil.                       7 Priory Courtyard
                                                      Flat 3
PGP:         Ramsgate
                                                      Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url :

More information about the freebsd-questions mailing list