diff options
author | Matthias Fechner <mfechner@FreeBSD.org> | 2021-11-01 22:38:08 +0100 |
---|---|---|
committer | Matthias Fechner <mfechner@FreeBSD.org> | 2021-11-12 06:54:51 +0100 |
commit | 46ce086c7130aedb8b349864afaf938489d070de (patch) | |
tree | dcf3de2b4b6e24d449246f71efde1e2c3ce8eba7 /UPDATING | |
parent | 835d84cce49f125c86132bae1faf6da55cd1ccea (diff) | |
download | freebsd-ports-46ce086c7130aedb8b349864afaf938489d070de.zip |
Mk/Uses: default version for nodejs
If a port depends on node, a simple:
USES= nodejs
can be added. It is also possible to define a specific version:
USES= nodejs:14
Use as current version the latest LTS version of node.
PR: 259783
Differential Revision: https://reviews.freebsd.org/D32790
Diffstat (limited to 'UPDATING')
-rw-r--r-- | UPDATING | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -5,6 +5,25 @@ they are unavoidable. You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. +20211110: + AFFECTS: users of www/node*, www/npm*, www/yarn* + AUTHOR: mfechner@FreeBSD.org + + The port framework was updated to use a default version for nodejs. + The default version is pointing to the latest LTS version which is + currently version 16. + You can overwrite this by defining in /etc/make.conf, e.g. version 17: + DEFAULT_VERSIONS=nodejs=17 + + Or if you would like to stick always to the current version use: + DEFAULT_VERSIONS=nodejs=current + + If you would like to use yarn or npm together with nodejs version 17, + just install the package that is pulling the wanted dependency to nodejs: + + # pkg install yarn-node17 + # pkg install npm-node17 + 20211109: AFFECTS: users of security/libressl AUTHOR: brnrd@FreeBSD.org |