Date: Wed, 27 Oct 2004 12:34:51 -0700 From: "Zoltan Frombach" <tssajo@hotmail.com> To: "Ruben de Groot" <mail25@bzerk.org>, "Kris Kennaway" <kris@obsecurity.org> Cc: freebsd-current@freebsd.org Subject: Re: Portupgrade -af question Message-ID: <BAY2-DAV9tPGtPrPrvC000146aa@hotmail.com> References: <BAY2-DAV3ExvWvqzAoa0000c9e7@hotmail.com> <20041027173212.GA59754@xor.obsecurity.org> <20041027190416.GA70873@ei.bzerk.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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) If you really want to add this to portupgrade, it should be optional, though. Because someone might have a broken compiler or something and just wants to install a binary package quickly. In that case it should be possible to force a binary package installation regardless of what's inside the pkgtools.conf file. Don't you agree?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY2-DAV9tPGtPrPrvC000146aa>