How do I install ports hands-off?

Matthew Seaman m.seaman at infracaninophile.co.uk
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.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       7 Priory Courtyard
                                                      Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey         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 : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070104/a2a91c91/signature.pgp


More information about the freebsd-questions mailing list