From owner-freebsd-current@FreeBSD.ORG Wed Oct 27 19:03:01 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 97BFE16A4CE for ; Wed, 27 Oct 2004 19:03:01 +0000 (GMT) Received: from ei.bzerk.org (ei.xs4all.nl [213.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01EF343D39 for ; Wed, 27 Oct 2004 19:03:01 +0000 (GMT) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.13.1/8.13.1) with ESMTP id i9RJ4GJ3071075; Wed, 27 Oct 2004 21:04:16 +0200 (CEST) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.13.1/8.13.1/Submit) id i9RJ4GLf071074; Wed, 27 Oct 2004 21:04:16 +0200 (CEST) (envelope-from mail25@bzerk.org) Date: Wed, 27 Oct 2004 21:04:16 +0200 From: Ruben de Groot To: Kris Kennaway Message-ID: <20041027190416.GA70873@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , Kris Kennaway , Zoltan Frombach , Zoltan Frombach , Andre Guibert de Bruet , freebsd-current@freebsd.org References: <20041027173212.GA59754@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041027173212.GA59754@xor.obsecurity.org> User-Agent: Mutt/1.4.2.1i X-Spam-Status: No, score=-2.3 required=5.0 tests=ALL_TRUSTED, FROM_ENDS_IN_NUMS autolearn=failed version=3.0.0 X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on ei.bzerk.org cc: Zoltan Frombach cc: Ruben de Groot cc: freebsd-current@freebsd.org cc: Zoltan Frombach 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:03:01 -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)