From owner-freebsd-current@FreeBSD.ORG Wed Oct 27 19:35:02 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F61E16A4CE for ; Wed, 27 Oct 2004 19:35:02 +0000 (GMT) Received: from hotmail.com (bay2-dav9.bay2.hotmail.com [65.54.246.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A8A543D2D for ; Wed, 27 Oct 2004 19:35:02 +0000 (GMT) (envelope-from tssajo@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 27 Oct 2004 12:35:01 -0700 Received: from 24.24.201.219 by BAY2-DAV9.phx.gbl with DAV; Wed, 27 Oct 2004 19:34:38 +0000 X-Originating-IP: [24.24.201.219] X-Originating-Email: [tssajo@hotmail.com] X-Sender: tssajo@hotmail.com From: "Zoltan Frombach" To: "Ruben de Groot" , "Kris Kennaway" References: <20041027173212.GA59754@xor.obsecurity.org> <20041027190416.GA70873@ei.bzerk.org> Date: Wed, 27 Oct 2004 12:34:51 -0700 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Message-ID: X-OriginalArrivalTime: 27 Oct 2004 19:35:01.0981 (UTC) FILETIME=[0D5390D0:01C4BC5C] cc: Ruben de Groot cc: freebsd-current@freebsd.org Subject: Re: Portupgrade -af question X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Oct 2004 19:35:02 -0000 > 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?