Date: Sun, 10 Nov 2013 21:56:43 +0100 From: olli hauer <ohauer@gmx.de> To: Allan Jude <freebsd@allanjude.com> Cc: clement@FreeBSD.org, ports@FreeBSD.org, apache@FreeBSD.org, freebsd-ports@freebsd.org Subject: Re: ports default version system Message-ID: <527FF30B.6040900@gmx.de> In-Reply-To: <527FEEC3.6090400@allanjude.com> References: <527D9F38.20105@allanjude.com> <527FEE58.5050201@gmx.de> <527FEEC3.6090400@allanjude.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2013-11-10 21:38, Allan Jude wrote: > On 2013-11-10 15:36, olli hauer wrote: >> 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. >> >> > That might be a mistake on my part, although with the original code, I > couldn't get it to ever use anything except apache22 no matter what I > did, so it might have been broken before the patch too > Until now the only way to define for example apache24 as default is to use APACHE_PORT=www/apache24 in make.conf I will look into this but it needs some time ... -- olli
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?527FF30B.6040900>