Re: Avoid questions from portupgrade?

[ Available lists | Index of freebsd-questions | Month of Jan 2004 | Week of 29 Jan 2004 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Matthew Seaman <m.seaman@infracaninophile.co.uk>
Date
29 Jan 2004 00:23:17
Subject
Re: Avoid questions from portupgrade?
Message-ID
20040129082310.GB24024@happy-idiot-talk.infracaninophile.co.uk

In reply to
References to
Referenced by

[ Hide this part ]
On Thu, Jan 29, 2004 at 08:13:56AM +0100, Kai Grossjohann wrote:
> I started a "portupgrade -avR" yesterday. It stopped in the middle of
> the night, after getting to GhostScript. GhostScript asks me which
> drivers to compile.
>
> Is there a way, preferrably in /etc/make.conf, that I can tell it
> beforehand which drivers I want, so that GhostScript won't ask?

Use the 'MAKE_ARGS' array in /usr/local/etc/pkgtools.conf

> Is there a way for me to find out which other ports like to ask
> questions, which questions it asks, and to preanswer them?

Only by experience, or by reading through the port's Makefile. You
can switch off the interactive configuration by setting 'BATCH=yes' in
make's argument list. Most of the ports that use interactive
configuration will in any case turn off the interactive stuff if you
give them any WITH_FOO or WITHOUT_BAR options.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614 Bucks., SL7 1TH UK


[ Show this part (application/pgp-signature) ]

Elapsed time: 0.121 seconds