Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Oct 2013 01:33:52 -0500
From:      Scot Hetzel <swhetzel@gmail.com>
To:        Baptiste Daroussin <bapt@freebsd.org>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: new DEFAULT_VERSIONS variable
Message-ID:  <CACdU%2Bf9B0mKC14ww2Nk=5pWCq1uyfr-hWE8oEHqv9=iV5is8tA@mail.gmail.com>
In-Reply-To: <20131003135231.GH9150@ithaqua.etoilebsd.net>
References:  <20131003094743.7ef9c7f4@scorpio> <20131003135231.GH9150@ithaqua.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 3, 2013 at 8:52 AM, Baptiste Daroussin <bapt@freebsd.org> wrote:
> On Thu, Oct 03, 2013 at 09:47:43AM -0400, Jerry wrote:
>> I just saw this in UPDATING:
>>
>> 20131003:
>>   AFFECTS: users of lang/python* and ports
>>   AUTHOR: mva@FreeBSD.org
>>
>>   The default versions of lang/python* have been changed to support the
>>   new DEFAULT_VERSIONS variable.
>>
>>   PYTHON_DEFAULT_VERSION, PYTHON2_DEFAULT_VERSION and
>>   PYTHON3_DEFAULT_VERSION are deprecated. If you have set them in your
>>   make.conf, you should change them something like
>>
>>   DEFAULT_VERSIONS=python=2.7 python2=2.7 python3=3.3
>>
>> Does this affect BERKLEY DB or Ruby also? If not, is it a planned future
>> implementation?
>>
>
> The entry as of 20130920 stated also perl5, ruby, tcltk.
>
> I would be glad to see bdb, postgresql, mysql, etc also being added here :)
>
I have USES files for berkeleydb, sqlite and firebird.  So far their
they can be used as:

USE+= berkeleydb
USE+= berkeleydb:41+

They also support DEFAULT_VERSIONS, currently the syntactic for them is:

DEFAULT_VERSIONS=berkeleydb=41+ sqlite=3 firebird=25

These files also support the old WITH_*_VER variables and a per port
variable to select the version (.i.e for berkeleydb):

category_portname_BDB_VER

I still have some testing to do on these 3 USES files and creating the
postgresql.mk and mysql.mk (unless someone beats me to them ;-).

-- 
DISCLAIMER:

No electrons were maimed while sending this message. Only slightly bruised.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACdU%2Bf9B0mKC14ww2Nk=5pWCq1uyfr-hWE8oEHqv9=iV5is8tA>