From owner-freebsd-ports@FreeBSD.ORG Sun Nov 10 20:36:33 2013 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 6A1D09F0 for ; Sun, 10 Nov 2013 20:36:33 +0000 (UTC) (envelope-from ohauer@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F19F720A6 for ; Sun, 10 Nov 2013 20:36:32 +0000 (UTC) Received: from [192.168.0.100] ([87.139.233.65]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0LoVOE-1W7Wdx0quw-00gXhv for ; Sun, 10 Nov 2013 21:36:31 +0100 Message-ID: <527FEE58.5050201@gmx.de> Date: Sun, 10 Nov 2013 21:36:40 +0100 From: olli hauer User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Allan Jude , freebsd-ports@freebsd.org Subject: Re: ports default version system References: <527D9F38.20105@allanjude.com> In-Reply-To: <527D9F38.20105@allanjude.com> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:ESZOrfbaUaxUAMRgjLmTtbJQGu2MDD6uoyX5/6+aXtuL+g6QMOc 4BdD8gxGeJ82qXnDyxuGtlmedgjDCSVjFk9108g5ii82DYgtutM36EHuJncEECfmA6xX5Lr 2Sl/LYlAQGP78a7Mrl22hRcYc+gviYvKDPnIoAvjexPRH82ssCk1FdzR2a47pH/yOh2u/70 SSFohi2CaqVVPzUDVaXqw== Cc: clement@FreeBSD.org, ohauer@FreeBSD.org, ports@FreeBSD.org, apache@FreeBSD.org 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: Sun, 10 Nov 2013 20:36:33 -0000 On 2013-11-09 03:34, Allan Jude wrote: > Attached is a proposed patch for Mk/bsd.default-versions.mk > > Currently, perl, python, ruby and tcl are supported > > The patch adds support for apache, fpc, mysql, pgsql, and php > > Users can specify in /etc/make.conf > > DEFAULT_VERSIONS= perl5=5.18 ruby=2.0 php=5.3 mysql=55p > > and change the default version of php from lang/php5 to lang/php53 > and mysql from database/mysql55-server to database/perconba55-server > etc. > > The apache part of the patch might also consider deprecating the > APACHE_PORT make.conf variable. > > Using the 'old way' produces a warning the same way it does for ruby, > perl etc. > I'm reviewing the apache part, at the first look it seems OK, at the second it seems to overwrites the version check logic by always assigning the default version regardless if the default version is fine for the port. -- olli