Re: How do I install ports hands-off?

2007-01-04 Thread Andy Greenwood

On 1/4/07, Atom Powers <[EMAIL PROTECTED]> 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?


If you're refering to the port dependancy configs, you can try

# make config-recursive

which will present you with all the config options for all the
dependancies, then you can

# make && make install



--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"




--
I'm nerdy in the extreme and whiter than sour cream
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How do I install ports hands-off?

2007-01-04 Thread Matthew Seaman
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



signature.asc
Description: OpenPGP digital signature


Re: How do I install ports hands-off?

2007-01-04 Thread Michael P. Soulier

On 1/4/07, Atom Powers <[EMAIL PROTECTED]> 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?


This seems to suggest "batch mode".

http://lists.freebsd.org/pipermail/freebsd-ports/2003-August/003694.html

Mike
--
Michael P. Soulier <[EMAIL PROTECTED]>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"