Changeset View
Standalone View
Mk/bsd.default-versions.mk
Show All 12 Lines | |||||
# DEFAULT_VERSIONS= perl5=5.20 ruby=2.7 | # DEFAULT_VERSIONS= perl5=5.20 ruby=2.7 | ||||
.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 GL \ | .for lang in APACHE BDB COROSYNC EMACS FIREBIRD FORTRAN FPC GCC GHOSTSCRIPT GL \ | ||||
IMAGEMAGICK JAVA LAZARUS LIBRSVG2 LINUX LLVM LUA MYSQL NINJA PERL5 \ | IMAGEMAGICK JAVA LAZARUS LIBRSVG2 LINUX LLVM LUA MYSQL NINJA NODEJS 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 127 Lines • ▼ Show 20 Lines | |||||
# Make sure we have a default in the end | # Make sure we have a default in the end | ||||
SSL_DEFAULT?= base | SSL_DEFAULT?= base | ||||
.endif | .endif | ||||
# Possible values: 8.5, 8.6, 8.7 | # Possible values: 8.5, 8.6, 8.7 | ||||
TCLTK_DEFAULT?= 8.6 | TCLTK_DEFAULT?= 8.6 | ||||
# Possible values: 4, 6 | # Possible values: 4, 6 | ||||
VARNISH_DEFAULT?= 4 | VARNISH_DEFAULT?= 4 | ||||
# Possible value: 10, 14, 16, 17, lts, current | |||||
bhughes: What about also having version "aliases", e.g. USES=nodejs:lts or USES=nodejs:current, in… | |||||
NODEJS_DEFAULT?= lts | |||||
Done Inline ActionsThe default is 17. sunpoet: The default is 17. | |||||
Done Inline ActionsI suggest to use the latest LTS version by default. mfechner: I suggest to use the latest LTS version by default.
If a user would like to use current which… | |||||
Done Inline ActionsIt can make sense to have the lts as default version, but it's a breaking change and I'm not sure if this is what we want right now. BEFORE: I would keep the default version to current and I would postpone the discussion about nodejs default version to a later point in time pizzamig: It can make sense to have the lts as default version, but it's a breaking change and I'm not… | |||||
Done Inline ActionsIt will not fix gitlab-ce if we do not change the default version for node, reason: I need yarn-node16 as gitlab will not work with node 17. So rubygem-execjs and yarn-node16 have now a conflict as you cannot install node16 and node at the same time. Therefor I cannot change the default version later. mfechner: It will not fix gitlab-ce if we do not change the default version for node, reason:
gitlab-ce… | |||||
.endif | .endif |
What about also having version "aliases", e.g. USES=nodejs:lts or USES=nodejs:current, in addition to the major version number?