From owner-freebsd-ports@FreeBSD.ORG Wed Oct 6 17:51:06 2010 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17EF5106564A for ; Wed, 6 Oct 2010 17:51:06 +0000 (UTC) (envelope-from obrien@NUXI.org) Received: from dragon.nuxi.org (trang.nuxi.org [74.95.12.85]) by mx1.freebsd.org (Postfix) with ESMTP id CF6F48FC0C for ; Wed, 6 Oct 2010 17:51:05 +0000 (UTC) Received: from dragon.nuxi.org (obrien@localhost [127.0.0.1]) by dragon.nuxi.org (8.14.4/8.14.4) with ESMTP id o96Hp5j9081907; Wed, 6 Oct 2010 10:51:05 -0700 (PDT) (envelope-from obrien@dragon.nuxi.org) Received: (from obrien@localhost) by dragon.nuxi.org (8.14.4/8.14.4/Submit) id o96Hp5Wc081906; Wed, 6 Oct 2010 10:51:05 -0700 (PDT) (envelope-from obrien) Date: Wed, 6 Oct 2010 10:51:05 -0700 From: "David O'Brien" To: David DEMELIER Message-ID: <20101006175105.GA81751@dragon.NUXI.org> References: <4C93AA31.5080202@DataIX.net> <20100918223933.GB85995@dragon.NUXI.org> <20101002002605.GA8018@dragon.NUXI.org> <20101005182407.GE7829@dragon.NUXI.org> MIME-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 9.0-CURRENT X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? User-Agent: Mutt/1.5.16 (2007-06-09) Cc: FreeBSD Ports Subject: Re: OPTIONS (was: editors/vim installs to /) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: obrien@freebsd.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Oct 2010 17:51:06 -0000 On Wed, Oct 06, 2010 at 02:12:18PM +0200, David DEMELIER wrote: > 2010/10/5 David O'Brien : > > On Sun, Oct 03, 2010 at 10:22:46AM +0200, David DEMELIER wrote: > >> 2010/10/2 David O'Brien : > >> > 2. With the way OPTIONS handling is done, there isn't a way for me > >> > to query if I built with the defaults or not. > >> > Thus leading to every port I manually install looking like it was > >> > customized just because /var/db/ports/${PORTNAME} exists.  Thus > >> > implying I can no longer install the pre-build package. > >> > >> make rmconfig ? > > > > I think you've missed my point. > > > > That does not tell me if I, in the past, made a decision that did not > > like the maintainer's defaults, or if I just wanted to extract the > > sources so I could read the license or figure out what the OPTIONS knobs > > were about, etc.. > > I understood, you prefere a file like make.conf or ports.conf to see > which options/knob is defined, isn't it ? That is true - but doesn't isn't really what's behind #2 above. In this case, I really want to now which packages are OK to upgrade using 'portupgrade -PP' (or portmaster) -- to quickly do upgrades using the pre-built packages Portmgr spends a lot of time making available to us. I use a script that looks for a non-zero byte /var/db/ports/$PKG/options or any $PKG knobs in /etc/make.conf. If either is found, then 'portupgrade -PP', else just 'portupgrade'. This is where things like 'make extract' cause a problem - since one cannot even extract without going thru OPTIONS dialog. -- -- David (obrien@FreeBSD.org) Q: Because it reverses the logical flow of conversation. A: Why is top-posting (putting a reply at the top of the message) frowned upon? Let's not play "Jeopardy-style quoting"