Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Oct 2010 10:51:05 -0700
From:      "David O'Brien" <obrien@freebsd.org>
To:        David DEMELIER <demelier.david@gmail.com>
Cc:        FreeBSD Ports <ports@freebsd.org>
Subject:   Re: OPTIONS (was: editors/vim installs to /)
Message-ID:  <20101006175105.GA81751@dragon.NUXI.org>
In-Reply-To: <AANLkTimpm-AhaA4L2fDVPEWpG4icST72FP7KPg59aWo2@mail.gmail.com>
References:  <4C93AA31.5080202@DataIX.net> <AANLkTik%2B1rvY4ZYgzHRjaX8PBfD1UqNCNeadHqg3KBfo@mail.gmail.com> <20100918223933.GB85995@dragon.NUXI.org> <AANLkTi=vPKpaPL9L=pQN9EdWdEN3sf1pos6uGtJU7ybV@mail.gmail.com> <20101002002605.GA8018@dragon.NUXI.org> <AANLkTinkasFFQ8ssbTSdbYUS%2BJ-tYMc1U3w9rkUCk9Gd@mail.gmail.com> <20101005182407.GE7829@dragon.NUXI.org> <AANLkTimpm-AhaA4L2fDVPEWpG4icST72FP7KPg59aWo2@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 06, 2010 at 02:12:18PM +0200, David DEMELIER wrote:
> 2010/10/5 David O'Brien <obrien@freebsd.org>:
> > On Sun, Oct 03, 2010 at 10:22:46AM +0200, David DEMELIER wrote:
> >> 2010/10/2 David O'Brien <obrien@freebsd.org>:
> >> > 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101006175105.GA81751>