Date: Thu, 28 Oct 2004 00:23:52 -0700 From: "Zoltan Frombach" <tssajo@hotmail.com> To: "Collin J. Kreklow" <collin@kreklow.us>, <freebsd-current@freebsd.org> Cc: Kris Kennaway <kris@obsecurity.org> Subject: Re: Portupgrade -af question Message-ID: <BAY2-DAV3Sr0fVwcdZ00000e663@hotmail.com> References: <BAY2-DAV3ExvWvqzAoa0000c9e7@hotmail.com> <20041027173212.GA59754@xor.obsecurity.org> <20041027190416.GA70873@ei.bzerk.org> <BAY2-DAV9tPGtPrPrvC000146aa@hotmail.com> <20041027211531.GC59489@dragon.nuxi.com> <20041028063144.GA20869@jupiter.kreklow.us>
next in thread | previous in thread | raw e-mail | index | archive | help
Great! Is there any chance this gets included in the official portupgrade program? Zoltan ----- Original Message ----- From: "Collin J. Kreklow" <collin@kreklow.us> To: <freebsd-current@freebsd.org> Cc: "Zoltan Frombach" <tssajo@hotmail.com>; "Ruben de Groot" <mail25@bzerk.org>; "Kris Kennaway" <kris@obsecurity.org>; "David O'Brien" <obrien@freebsd.org> Sent: Wednesday, October 27, 2004 11:31 PM Subject: Re: Portupgrade -af question > On Wed, Oct 27, 2004 at 02:15:31PM -0700, David O'Brien wrote: >> On Wed, Oct 27, 2004 at 12:34:51PM -0700, Zoltan Frombach wrote: >> > >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? >> > >> > 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? >> >> 'portupgrade -PP' can still be used for that. > > I believe that the attached patch will cause portupgrade to build a port > when make options are specified either in pkgtools.conf or with the -m > option, unless -PP/--use-packages-only is specified. I am by no means a > Ruby expert, but this appears to do the correct thing for all the > combinations of MAKE_ARGS, -m, -P and -PP I could come up with. > > Collin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY2-DAV3Sr0fVwcdZ00000e663>