2013-09-19 10:16:43 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
# MAINTAINER: ports@FreeBSD.org
|
|
|
|
#
|
2014-02-25 01:32:09 +01:00
|
|
|
# Provide default versions for ports with multiple versions selectable
|
|
|
|
# by the user.
|
2013-09-19 10:16:43 +02:00
|
|
|
#
|
2014-02-25 01:32:09 +01:00
|
|
|
# Users who want to override these defaults can easily do so by defining
|
|
|
|
# DEFAULT_VERSIONS in their make.conf as follows:
|
2013-09-19 10:16:43 +02:00
|
|
|
#
|
2014-02-25 01:32:09 +01:00
|
|
|
# DEFAULT_VERSIONS= perl5=5.18 ruby=2.0
|
2013-09-19 10:16:43 +02:00
|
|
|
|
|
|
|
.if !defined(_INCLUDE_BSD_DEFAULT_VERSIONS_MK)
|
|
|
|
_INCLUDE_BSD_DEFAULT_VERSIONS_MK= yes
|
|
|
|
|
|
|
|
.for lang in ${DEFAULT_VERSIONS}
|
|
|
|
_l= ${lang:C/=.*//g}
|
2014-05-05 11:45:36 +02:00
|
|
|
${_l:tu}_DEFAULT= ${lang:C/.*=//g}
|
2013-09-19 10:16:43 +02:00
|
|
|
.endfor
|
|
|
|
|
2014-07-13 17:51:43 +02:00
|
|
|
APACHE_DEFAULT?= 2.4
|
2015-12-06 00:29:36 +01:00
|
|
|
FPC_DEFAULT?= 3.0.0
|
2014-09-10 21:09:58 +02:00
|
|
|
GCC_DEFAULT?= 4.8
|
2014-01-12 22:16:06 +01:00
|
|
|
LUA_DEFAULT?= 5.2
|
2015-02-04 14:45:13 +01:00
|
|
|
MYSQL_DEFAULT?= 5.6
|
2015-10-20 22:26:59 +02:00
|
|
|
.if !exists(${LOCALBASE}/bin/perl) || (!defined(_PORTS_ENV_CHECK) && \
|
|
|
|
defined(PACKAGE_BUILDING))
|
2015-05-13 12:20:18 +02:00
|
|
|
PERL5_DEFAULT?= 5.20
|
2015-09-14 14:19:48 +02:00
|
|
|
.elif !defined(PERL5_DEFAULT)
|
|
|
|
# There's no need to replace development versions, like "5.23" with "devel"
|
|
|
|
# because 1) nobody is supposed to use it outside of poudriere, and 2) it must
|
|
|
|
# be set manually in /etc/make.conf in the first place, and we're never getting
|
|
|
|
# in here.
|
2015-10-19 22:53:15 +02:00
|
|
|
.if !defined(_PERL5_FROM_BIN)
|
2015-09-14 14:19:48 +02:00
|
|
|
_PERL5_FROM_BIN!= perl -e 'printf "%vd\n", $$^V;'
|
2015-10-19 22:53:15 +02:00
|
|
|
.endif
|
|
|
|
_EXPORTED_VARS+= _PERL5_FROM_BIN
|
2015-09-14 14:19:48 +02:00
|
|
|
PERL5_DEFAULT:= ${_PERL5_FROM_BIN:R}
|
|
|
|
.endif
|
2014-12-08 10:57:23 +01:00
|
|
|
PGSQL_DEFAULT?= 9.3
|
2015-02-20 14:56:11 +01:00
|
|
|
PHP_DEFAULT?= 5.6
|
2013-10-03 11:25:37 +02:00
|
|
|
PYTHON_DEFAULT?= 2.7
|
|
|
|
PYTHON2_DEFAULT?= 2.7
|
2015-01-11 00:15:27 +01:00
|
|
|
PYTHON3_DEFAULT?= 3.4
|
2015-03-01 04:04:40 +01:00
|
|
|
RUBY_DEFAULT?= 2.1
|
2014-01-12 22:16:06 +01:00
|
|
|
TCLTK_DEFAULT?= 8.6
|
2014-05-11 22:46:55 +02:00
|
|
|
FIREBIRD_DEFAULT?= 2.5
|
2015-07-23 03:44:51 +02:00
|
|
|
GHOSTSCRIPT_DEFAULT?= 9
|
2013-09-19 10:16:43 +02:00
|
|
|
|
2015-01-26 01:03:46 +01:00
|
|
|
# Version of lang/gcc. Do not override!
|
|
|
|
LANG_GCC_IS= 4.8
|
|
|
|
|
2013-09-19 10:16:43 +02:00
|
|
|
.endif
|