git: 25bb8b00152f - main - Mk/Uses/nodejs.mk: Handle www/node update to v18
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 Jun 2022 17:01:51 UTC
The branch main has been updated by jrm: URL: https://cgit.FreeBSD.org/ports/commit/?id=25bb8b00152f9e06ea3cba953dede66df54a5e1c commit 25bb8b00152f9e06ea3cba953dede66df54a5e1c Author: Joseph Mingrone <jrm@FreeBSD.org> AuthorDate: 2022-06-01 18:27:26 +0000 Commit: Joseph Mingrone <jrm@FreeBSD.org> CommitDate: 2022-06-03 17:01:42 +0000 Mk/Uses/nodejs.mk: Handle www/node update to v18 PR: 263590 Sponsored by: The FreeBSD Foundation --- Mk/Uses/nodejs.mk | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Mk/Uses/nodejs.mk b/Mk/Uses/nodejs.mk index a54751b1b4dd..8a5a7eefefb6 100644 --- a/Mk/Uses/nodejs.mk +++ b/Mk/Uses/nodejs.mk @@ -3,7 +3,7 @@ # Feature: nodejs # Usage: USES=nodejs or USES=nodejs:args # Valid ARGS: build and/or run <version> -# version: lts, current, 14, 16, 17 +# version: lts, current, 14, 16, 18 # Default is: build,run # Note: if you define a version, you must provide run and/or build # @@ -12,7 +12,7 @@ .if !defined(_INCLUDE_USES_NODEJS_MK) _INCLUDE_USES_NODEJS_MK= yes -_VALID_NODEJS_VERSION= 14 16 17 lts current +_VALID_NODEJS_VERSION= 14 16 18 lts current _NODEJS_VERSION_SUFFIX= ${NODEJS_DEFAULT} . if ! ${_VALID_NODEJS_VERSION:M${_NODEJS_VERSION_SUFFIX}} @@ -29,18 +29,18 @@ _NODEJS_VERSION_SUFFIX= 14 _NODEJS_VERSION_SUFFIX= 16 . elif ${nodejs_ARGS:Mlts} _NODEJS_VERSION_SUFFIX= lts -. elif ${nodejs_ARGS:M17} -_NODEJS_VERSION_SUFFIX= 17 +. elif ${nodejs_ARGS:M18} +_NODEJS_VERSION_SUFFIX= 18 . elif ${nodejs_ARGS:Mcurrent} _NODEJS_VERSION_SUFFIX= current . elif defined(NODEJS_DEFAULT) . endif -# The nodejs 17 version is named www/node +# The nodejs 18 version is named www/node . if ${_NODEJS_VERSION_SUFFIX:Mcurrent} _NODEJS_VERSION_SUFFIX= . endif -. if ${_NODEJS_VERSION_SUFFIX:M17} +. if ${_NODEJS_VERSION_SUFFIX:M18} _NODEJS_VERSION_SUFFIX= . endif # The nodejs LTS is version 16