aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Mk/Uses/firebird.mk2
-rw-r--r--Mk/Uses/ghostscript.mk2
-rw-r--r--Mk/Uses/lua.mk2
-rw-r--r--Mk/Uses/perl5.mk4
-rw-r--r--Mk/Uses/pgsql.mk2
-rw-r--r--Mk/Uses/python.mk2
-rw-r--r--Mk/Uses/tcl.mk2
-rw-r--r--Mk/bsd.apache.mk2
-rw-r--r--Mk/bsd.database.mk2
-rw-r--r--Mk/bsd.default-versions.mk15
-rw-r--r--Mk/bsd.fpc.mk2
-rw-r--r--Mk/bsd.gcc.mk2
-rw-r--r--Mk/bsd.php.mk2
-rw-r--r--Mk/bsd.ruby.mk4
14 files changed, 45 insertions, 0 deletions
diff --git a/Mk/Uses/firebird.mk b/Mk/Uses/firebird.mk
index 6bd07f8ae679..07437f3a1a71 100644
--- a/Mk/Uses/firebird.mk
+++ b/Mk/Uses/firebird.mk
@@ -15,6 +15,8 @@ FIREBIRD_VER= ${firebird_ARGS}
FIREBIRD_VER?= ${FIREBIRD_DEFAULT:S/.//}
+# When adding a version, please keep the comment in
+# Mk/bsd.default-versions.mk in sync.
.if ${FIREBIRD_VER} == 25
LIB_DEPENDS+= libfbclient.so:databases/firebird25-client
.else
diff --git a/Mk/Uses/ghostscript.mk b/Mk/Uses/ghostscript.mk
index 7c624203d007..28ac66f2d18c 100644
--- a/Mk/Uses/ghostscript.mk
+++ b/Mk/Uses/ghostscript.mk
@@ -28,6 +28,8 @@
_INCLUDE_USES_GHOSTSCRIPT_MK= yes
# allowed versions
+# When adding a version, please keep the comment in
+# Mk/bsd.default-versions.mk in sync.
_GS_VERSION= 7 8 9 agpl
_GS_ARGS= ${ghostscript_ARGS}
diff --git a/Mk/Uses/lua.mk b/Mk/Uses/lua.mk
index 8bdd1274bef2..7bc11f1f50bb 100644
--- a/Mk/Uses/lua.mk
+++ b/Mk/Uses/lua.mk
@@ -10,6 +10,8 @@
.if !defined(_INCLUDE_USES_LUA_MK)
_INCLUDE_USES_LUA_MK= yes
+# When adding a version, please keep the comment in
+# Mk/bsd.default-versions.mk in sync.
_LUA_VALID_VERSIONS= 53 52 51
.include "${PORTSDIR}/Mk/bsd.default-versions.mk"
diff --git a/Mk/Uses/perl5.mk b/Mk/Uses/perl5.mk
index 0c9d189543fe..82653845768a 100644
--- a/Mk/Uses/perl5.mk
+++ b/Mk/Uses/perl5.mk
@@ -49,6 +49,8 @@ PERL5_DEPEND= ${PERL5}
THIS_IS_OLD_PERL= yes
.else
# end of remove
+# When adding a version, please keep the comment in
+# Mk/bsd.default-versions.mk in sync.
.include "${PORTSDIR}/Mk/bsd.default-versions.mk"
.if ${PERL5_DEFAULT} == 5.18
.include "${PORTSDIR}/lang/perl5.18/version.mk"
@@ -88,6 +90,8 @@ PERL_ARCH?= mach
# there must always be a default to prevent dependency failures such
# as "ports/lang: not found". Also, perl5-devel is taken care in the
# perl5_default file, or up there in the default versions selection.
+# When adding a version, please keep the comment in
+# Mk/bsd.default-versions.mk in sync.
.if ${PERL_LEVEL} >= 502200
PERL_PORT?= perl5.22
.elif ${PERL_LEVEL} >= 502000
diff --git a/Mk/Uses/pgsql.mk b/Mk/Uses/pgsql.mk
index 8fbf53463483..8d38229568d5 100644
--- a/Mk/Uses/pgsql.mk
+++ b/Mk/Uses/pgsql.mk
@@ -31,6 +31,8 @@ _INCLUDE_USES_PGSQL_MK= yes
# to add dependencies; use WANT_PGSQL as explained above
#
+# When adding a version, please keep the comment in
+# Mk/bsd.default-versions.mk in sync.
VALID_PGSQL_VER= 9.0 9.1 9.2 9.3 9.4 9.5
# Override non-default LIBVERS like this:
diff --git a/Mk/Uses/python.mk b/Mk/Uses/python.mk
index 497e30d8eb05..b3efdc007b08 100644
--- a/Mk/Uses/python.mk
+++ b/Mk/Uses/python.mk
@@ -220,6 +220,8 @@
_INCLUDE_USES_PYTHON_MK= yes
# What Python version and what Python interpreters are currently supported?
+# When adding a version, please keep the comment in
+# Mk/bsd.default-versions.mk in sync.
_PYTHON_VERSIONS= 2.7 3.4 3.5 3.3 # preferred first
_PYTHON_PORTBRANCH= 2.7 # ${_PYTHON_VERSIONS:[1]}
_PYTHON_BASECMD= ${LOCALBASE}/bin/python
diff --git a/Mk/Uses/tcl.mk b/Mk/Uses/tcl.mk
index 6aa03fffb5d9..27e14e9d48fd 100644
--- a/Mk/Uses/tcl.mk
+++ b/Mk/Uses/tcl.mk
@@ -67,6 +67,8 @@ _INCLUDE_USES_TCL_MK= yes
#
# List the currently available versions.
#
+# When adding a version, please keep the comment in
+# Mk/bsd.default-versions.mk in sync.
_TCLTK_VALID_VERSIONS= 84 85 86
#
diff --git a/Mk/bsd.apache.mk b/Mk/bsd.apache.mk
index cc86b419c7ed..041b91329876 100644
--- a/Mk/bsd.apache.mk
+++ b/Mk/bsd.apache.mk
@@ -92,6 +92,8 @@ WARNING+= "DEFAULT_APACHE_VER is defined, consider using DEFAULT_VERSIONS+=apach
.endif
DEFAULT_APACHE_VERSION?= ${APACHE_DEFAULT:S/.//}
+# When adding a version, please keep the comment in
+# Mk/bsd.default-versions.mk in sync.
APACHE_SUPPORTED_VERSION= 24 22 # preferred version first
# Print warnings
diff --git a/Mk/bsd.database.mk b/Mk/bsd.database.mk
index e30539d6941d..234c1ecfe8c7 100644
--- a/Mk/bsd.database.mk
+++ b/Mk/bsd.database.mk
@@ -100,6 +100,8 @@ WARNING+= "DEFAULT_MYSQL_VER is defined, consider using DEFAULT_VERSIONS=mysql=$
.if defined(USE_MYSQL)
DEFAULT_MYSQL_VER?= ${MYSQL_DEFAULT:S/.//}
# MySQL client version currently supported.
+# When adding a version, please keep the comment in
+# Mk/bsd.default-versions.mk in sync.
MYSQL51_LIBVER= 16
MYSQL55_LIBVER= 18
MYSQL55m_LIBVER= 18
diff --git a/Mk/bsd.default-versions.mk b/Mk/bsd.default-versions.mk
index 1a8e7e2d69cc..d187feb5ca62 100644
--- a/Mk/bsd.default-versions.mk
+++ b/Mk/bsd.default-versions.mk
@@ -18,13 +18,21 @@ _l= ${lang:C/=.*//g}
${_l:tu}_DEFAULT= ${lang:C/.*=//g}
.endfor
+# Possible values: 2.2, 2.4
APACHE_DEFAULT?= 2.4
+# Possible values: 2.5
FIREBIRD_DEFAULT?= 2.5
+# Possible values: 3.0.0
FPC_DEFAULT?= 3.0.0
+# Possible values: 4.6, 4.7, 4.8, 4.9, 5
GCC_DEFAULT?= 4.8
+# Possible values: 7, 8, 9, agpl
GHOSTSCRIPT_DEFAULT?= agpl
+# Possible values: 5.1, 5.2, 5.3
LUA_DEFAULT?= 5.2
+# Possible values: 5.1, 5.5, 5.6, 5.7, 5.5m, 10.0m, 10.1m, 5.5p, 5.6p
MYSQL_DEFAULT?= 5.6
+# Possible values: 5.18, 5.20, 5.22, devel
.if !exists(${LOCALBASE}/bin/perl) || (!defined(_PORTS_ENV_CHECK) && \
defined(PACKAGE_BUILDING))
PERL5_DEFAULT?= 5.20
@@ -39,12 +47,19 @@ _PERL5_FROM_BIN!= perl -e 'printf "%vd\n", $$^V;'
_EXPORTED_VARS+= _PERL5_FROM_BIN
PERL5_DEFAULT:= ${_PERL5_FROM_BIN:R}
.endif
+# Possible values: 9.0, 9.1, 9.2, 9.3, 9.4, 9.5
PGSQL_DEFAULT?= 9.3
+# Possible values: 5.5, 5.6, 7.0
PHP_DEFAULT?= 5.6
+# Possible values: 2.7, 3.3, 3.4, 3.5
PYTHON_DEFAULT?= 2.7
+# Possible values: 2.7
PYTHON2_DEFAULT?= 2.7
+# Possible values: 3.3, 3.4, 3.5
PYTHON3_DEFAULT?= 3.4
+# Possible values: 2.0, 2.1, 2.2, 2.3
RUBY_DEFAULT?= 2.2
+# Possible values: 8.4, 8.5, 8.6
TCLTK_DEFAULT?= 8.6
# Version of lang/gcc. Do not override!
diff --git a/Mk/bsd.fpc.mk b/Mk/bsd.fpc.mk
index aeb6470a1c76..3bec79fe9911 100644
--- a/Mk/bsd.fpc.mk
+++ b/Mk/bsd.fpc.mk
@@ -40,6 +40,8 @@ FPC_Include_MAINTAINER= freebsd-fpc@FreeBSD.org
FPC_Pre_Include= bsd.fpc.mk
DEFAULT_FPC_VER= ${FPC_DEFAULT}
+# When adding a version, please keep the comment in
+# Mk/bsd.default-versions.mk in sync.
FPC_VER= ${DEFAULT_FPC_VER}
FPC_ARCH= ${ARCH:S/amd64/x86_64/}
diff --git a/Mk/bsd.gcc.mk b/Mk/bsd.gcc.mk
index 0f6764d3b5fe..278d02f43b1f 100644
--- a/Mk/bsd.gcc.mk
+++ b/Mk/bsd.gcc.mk
@@ -35,6 +35,8 @@ GCC_Include_MAINTAINER= gerald@FreeBSD.org
# All GCC versions supported by the ports framework. Keep them in
# ascending order and in sync with the table below.
+# When adding a version, please keep the comment in
+# Mk/bsd.default-versions.mk in sync.
GCCVERSIONS= 040200 040600 040700 040800 040900 050000
# The first field is the OSVERSION in which it disappeared from the base.
diff --git a/Mk/bsd.php.mk b/Mk/bsd.php.mk
index bc5e6df14a51..408c08f23063 100644
--- a/Mk/bsd.php.mk
+++ b/Mk/bsd.php.mk
@@ -55,6 +55,8 @@ PHP_EXT_DIR!= ${PHPBASE}/bin/php-config --extension-dir | ${SED} -ne 's,^${PHPBA
.else
DEFAULT_PHP_VER?= ${PHP_DEFAULT:S/.//}
+# When adding a version, please keep the comment in
+# Mk/bsd.default-versions.mk in sync.
PHP_VER?= ${DEFAULT_PHP_VER}
.if ${PHP_VER} == 70
PHP_EXT_DIR= 20151012
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk
index d2a1dc0efa43..a3c653bb857b 100644
--- a/Mk/bsd.ruby.mk
+++ b/Mk/bsd.ruby.mk
@@ -167,6 +167,8 @@ _RUBY_VENDORDIR!= ${_RUBY_CONFIG} 'puts C["vendordir"]'
RUBY?= ${LOCALBASE}/bin/${RUBY_NAME}
.if defined(RUBY_VER)
+# When adding a version, please keep the comment in
+# Mk/bsd.default-versions.mk in sync.
. if ${RUBY_VER} == 2.0
#
# Ruby 2.0
@@ -207,6 +209,8 @@ RUBY_PORTEPOCH= 1
RUBY_PATCHLEVEL= 0
RUBY23= "" # PLIST_SUB helpers
+# When adding a version, please keep the comment in
+# Mk/bsd.default-versions.mk in sync.
. else
#
# Other versions