Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Jan 2015 19:25:46 +1030
From:      Shane Ambler <FreeBSD@ShaneWare.Biz>
To:        Vick Khera <vivek@khera.org>, freebsd-ports-bugs@freebsd.org
Subject:   Re: change with USE_PGSQL
Message-ID:  <54ACF492.3050005@ShaneWare.Biz>
In-Reply-To: <CALd%2Bdceq_iTNDo6X%2BPi72KKkP_731RAOpdMdcf8R2wWb0DUFxg@mail.gmail.com>
References:  <CALd%2Bdceq_iTNDo6X%2BPi72KKkP_731RAOpdMdcf8R2wWb0DUFxg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 06/01/2015 07:41, Vick Khera wrote:
> I notice that the USE_PGSQL knob has been removed in favor of requiring two
> knobs now: USES + WANT_PGSQL.
>
> That is, my port used to need just
>
> USE_PGSQL=     server
>
> but now it needs both of these:
>
> USES=          pgsql
> WANT_PGSQL=    server
>
> I'm just wondering how this is a big improvement. Shouldn't it all just be
> encapsulated into the USES variable?

I believe the point is that USES= is the new system and everything is
slowly converting to use it. As I understand it, it is related to
enabling pkg builds to be available with multiple option settings for
each port instead of only default options.

It appears that only one option is available within USES so extra
options need another variable.

As pgsql has USES=pgsql[:version] - WANT_PGSQL is needed for component 
options.

In related news setting the default version in /etc/make.conf is now

DEFAULT_VERSIONS=  pgsql=9.3

-- 
FreeBSD - the place to B...Software Developing

Shane Ambler




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