Changeset View
Changeset View
Standalone View
Standalone View
Mk/bsd.default-versions.mk
Show All 14 Lines | |||||
# DEFAULT_VERSIONS= perl5=5.20 ruby=2.0 | # DEFAULT_VERSIONS= perl5=5.20 ruby=2.0 | ||||
.if !defined(_INCLUDE_BSD_DEFAULT_VERSIONS_MK) | .if !defined(_INCLUDE_BSD_DEFAULT_VERSIONS_MK) | ||||
_INCLUDE_BSD_DEFAULT_VERSIONS_MK= yes | _INCLUDE_BSD_DEFAULT_VERSIONS_MK= yes | ||||
LOCALBASE?= /usr/local | LOCALBASE?= /usr/local | ||||
.for lang in APACHE BDB COROSYNC EMACS FIREBIRD FORTRAN FPC GCC GHOSTSCRIPT \ | .for lang in APACHE BDB COROSYNC EMACS FIREBIRD FORTRAN FPC GCC GHOSTSCRIPT \ | ||||
IMAGEMAGICK JAVA LAZARUS LIBRSVG2 LINUX LLVM LUA MYSQL PERL5 \ | IMAGEMAGICK JAVA LAZARUS LIBRSVG2 LINUX LLVM LUA MYSQL NINJA PERL5 \ | ||||
PGSQL PHP PYTHON PYTHON2 PYTHON3 RUBY RUST SAMBA SSL TCLTK VARNISH | PGSQL PHP PYTHON PYTHON2 PYTHON3 RUBY RUST SAMBA SSL TCLTK VARNISH | ||||
.if defined(${lang}_DEFAULT) | .if defined(${lang}_DEFAULT) | ||||
ERROR+= "The variable ${lang}_DEFAULT is set and it should only be defined through DEFAULT_VERSIONS+=${lang:tl}=${${lang}_DEFAULT} in /etc/make.conf" | ERROR+= "The variable ${lang}_DEFAULT is set and it should only be defined through DEFAULT_VERSIONS+=${lang:tl}=${${lang}_DEFAULT} in /etc/make.conf" | ||||
.endif | .endif | ||||
#.undef ${lang}_DEFAULT | #.undef ${lang}_DEFAULT | ||||
.endfor | .endfor | ||||
.for lang in ${DEFAULT_VERSIONS} | .for lang in ${DEFAULT_VERSIONS} | ||||
▲ Show 20 Lines • Show All 46 Lines • ▼ Show 20 Lines | |||||
LLVM_DEFAULT?= 90 | LLVM_DEFAULT?= 90 | ||||
.endif | .endif | ||||
# Possible values: 5.1, 5.2, 5.3, 5.4 | # Possible values: 5.1, 5.2, 5.3, 5.4 | ||||
LUA_DEFAULT?= 5.2 | LUA_DEFAULT?= 5.2 | ||||
# Possible values: 5.10, 5.20, 6.8 | # Possible values: 5.10, 5.20, 6.8 | ||||
MONO_DEFAULT= 5.10 | MONO_DEFAULT= 5.10 | ||||
# Possible values: 5.5, 5.6, 5.7, 8.0, 10.3m, 10.4m, 10.5m, 5.5p, 5.6p, 5.7p, 5.6w, 5.7w | # Possible values: 5.5, 5.6, 5.7, 8.0, 10.3m, 10.4m, 10.5m, 5.5p, 5.6p, 5.7p, 5.6w, 5.7w | ||||
MYSQL_DEFAULT?= 5.7 | MYSQL_DEFAULT?= 5.7 | ||||
# Possible values: ninja, samurai | |||||
NINJA_DEFAULT?= ninja | |||||
# Possible values: 5.28, 5.30, 5.32, devel | # Possible values: 5.28, 5.30, 5.32, devel | ||||
.if !exists(${LOCALBASE}/bin/perl) || (!defined(_PORTS_ENV_CHECK) && \ | .if !exists(${LOCALBASE}/bin/perl) || (!defined(_PORTS_ENV_CHECK) && \ | ||||
defined(PACKAGE_BUILDING)) | defined(PACKAGE_BUILDING)) | ||||
PERL5_DEFAULT?= 5.32 | PERL5_DEFAULT?= 5.32 | ||||
.elif !defined(PERL5_DEFAULT) | .elif !defined(PERL5_DEFAULT) | ||||
# There's no need to replace development versions, like "5.23" with "devel" | # 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 | # 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 | # be set manually in /etc/make.conf in the first place, and we're never getting | ||||
▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines |