From owner-freebsd-ports@FreeBSD.ORG Fri Oct 4 06:33:53 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 36EB1E90; Fri, 4 Oct 2013 06:33:53 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mail-pa0-x236.google.com (mail-pa0-x236.google.com [IPv6:2607:f8b0:400e:c03::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0F6A62866; Fri, 4 Oct 2013 06:33:53 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id kx10so3751381pab.41 for ; Thu, 03 Oct 2013 23:33:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=KvdDldhg2di90RecQUbh66Zhw5D1lv/F3h4Cz3BRu2E=; b=XfBnzy2e0fWMlpr8ZERSHI0IKnTi2YEv3oih+2sj6kdL+aLiuAUGrxJgfklLWxRefM 2/pzWCqGnm4pYonJMnDUj5WMGHATpLvKV4Rsq278TWmHCxT3r2MxCUkIyQ2AAtbhYLOK zKtZ3ihpIPi36eN9tiZgJAXhFcG/SakK4Iit3pGaCepF36fXPLFM45bk+mlfbTMj9WR5 a7TCSPU1bqoKjphwtCXlfDgNPOdNPw6rBU4HTtGPhitt9rHz/4IKv/yYg+W+lqWN1HK9 sSIH+cKNrUOA64eiEwsHXFJFD99K/ZV6uHgQZ3wWF9m8SsDHvXdfztjOFZu4bryrwCHx UbsQ== MIME-Version: 1.0 X-Received: by 10.68.90.129 with SMTP id bw1mr4658271pbb.111.1380868432785; Thu, 03 Oct 2013 23:33:52 -0700 (PDT) Received: by 10.70.98.197 with HTTP; Thu, 3 Oct 2013 23:33:52 -0700 (PDT) In-Reply-To: <20131003135231.GH9150@ithaqua.etoilebsd.net> References: <20131003094743.7ef9c7f4@scorpio> <20131003135231.GH9150@ithaqua.etoilebsd.net> Date: Fri, 4 Oct 2013 01:33:52 -0500 Message-ID: Subject: Re: new DEFAULT_VERSIONS variable From: Scot Hetzel To: Baptiste Daroussin Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Oct 2013 06:33:53 -0000 On Thu, Oct 3, 2013 at 8:52 AM, Baptiste Daroussin 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.