Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jun 2013 16:49:56 -0400
From:      Jim Trigg <jtrigg@spamcop.net>
To:        Chris Rees <crees@FreeBSD.org>
Cc:        "ports@freebsd.org" <ports@freebsd.org>, Baptiste Daroussin <bapt@freebsd.org>
Subject:   Re: Conversion to new options framework over
Message-ID:  <20130607204956.GF9419@spamcop.net>
In-Reply-To: <CADLo83-9SkuTpwneryC3w02TcKaQ1K0B-kVRivn3HomF-cQ4Gw@mail.gmail.com>
References:  <20130606064509.GI38896@ithaqua.etoilebsd.net> <20130607175537.GE9419@spamcop.net> <CADLo83-9SkuTpwneryC3w02TcKaQ1K0B-kVRivn3HomF-cQ4Gw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 07, 2013 at 08:09:30PM +0100, Chris Rees wrote:
> On 7 June 2013 18:55, Jim Trigg <jtrigg@spamcop.net> wrote:
> > On Thu, Jun 06, 2013 at 08:45:10AM +0200, Baptiste Daroussin wrote:
> >> The compatibility code to parse the WITH/WITHOUT entries in make.conf
> >> will be removed in 6 months either.
> >>
> >> Do not forget to convert your configuration (make.conf, portsconf etc).
> >> A reminder will be send a month before the removal of the compatibility
> >> code.
> >
> > It would be useful to provide a pointer to instructions for doing so --
> > what exactly replaces WITH/WITHOUT entries in make.conf? For example,
> > my dedicated server has WITHOUT_X11=yes in /etc/make.conf because it's
> > headless and doesn't run an X server. What should that become?
> >
> > I tried googling, and the github doc page's only mention of make.conf is
> > to add "WITH_PKGNG=yes". Likewise the FreeBSD Handbook. The wiki
> > apparently just points to the Handbook.
> 
> WITH_PKGNG is not a classical OPTION, because it doesn't apply to any
> port in particular.

I hadn't meant to refer to that as one of the WITH_ options that needed
to be changed...

> There is some documentation for users at [1], basically you need to
> change any WITH_ variables to OPTIONS_SET=, and WITHOUT_ to
> OPTIONS_UNSET=.  I'll hopefully find some time soon to get it in the
> Handbook....
> 
> For example;
> 
> WITHOUT_X11=yes
> WITH_CUPS=yes
> WITHOUT_PULSEAUDIO=yes
> 
> becomes
> 
> OPTIONS_SET=CUPS
> OPTIONS_UNSET=PULSEAUDIO X11

That works for binary options, but what about version options? E.g., WITH_BDB_VER=47 ...

Thanks,
Jim



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