Avoid questions from portupgrade?
Matthew Seaman
m.seaman at infracaninophile.co.uk
Thu Jan 29 00:23:17 PST 2004
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040129/c43cf46a/attachment-0001.bin
More information about the freebsd-questions
mailing list