Re: Portupgrade -af question

From: Ruben de Groot <mail25_at_bzerk.org>
Date: Wed, 27 Oct 2004 21:04:16 +0200
On Wed, Oct 27, 2004 at 10:32:12AM -0700, Kris Kennaway typed:
> On Wed, Oct 27, 2004 at 10:26:49AM -0700, Zoltan Frombach wrote:
> 
> > >You can omit step 8 by editing /usr/local/etc/pkgtools.conf. e.g.
> > >
> > > MAKE_ARGS = {
> > >       'lang/perl5.8' => 'WITH_THREADS=yes',
> > > }
> > 
> > In fact, I do have those compile options set in my
> > /usr/local/etc/pkgtools.conf file. But are you sure that portupgrade will
> > use those even when called with the -P flag ( eg: portupgrade -af -P )?
> 
> Such environment variables have no effect on pkg_add (i.e. portupgrade
> -P), because the package has already been compiled and its build
> options were set at that time.

Yes. Wouldn't it be a nice feature for "portupgrade -P" to install the port
instead of the package if any non-defaults were defined in pkgtools.conf?

(I guess now's the time for me to learn some ruby)
Received on Wed Oct 27 2004 - 17:03:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:19 UTC