Re: git: f4ffcdfe611a - main - */*: use new nodejs USES flag

From: Bryan Drewery <bdrewery_at_FreeBSD.org>
Date: Tue, 23 Nov 2021 23:35:16 UTC
On 11/11/21 9:55 PM, Matthias Fechner wrote:
> The branch main has been updated by mfechner:
> 
> URL:https://cgit.FreeBSD.org/ports/commit/?id=f4ffcdfe611a0e2147bbcb9697ecdffb4538acb7
> 
> commit f4ffcdfe611a0e2147bbcb9697ecdffb4538acb7
> Author:     Matthias Fechner<mfechner@FreeBSD.org>
> AuthorDate: 2021-11-01 21:51:07 +0000
> Commit:     Matthias Fechner<mfechner@FreeBSD.org>
> CommitDate: 2021-11-12 05:54:51 +0000
> 
>      */*: use new nodejs USES flag
>      
>      Simply define which nodejs version is required using the nodejs USES flag.
>      
>      PR:                     259783
>      Differential Revision:https://reviews.freebsd.org/D32790
> ---
>   devel/node-thrift/Makefile                     |  5 ++---
>   devel/purescript-language-server/Makefile      |  3 ++-
>   devel/rubygem-execjs/Makefile                  | 13 +------------
>   devel/sonar-scanner-cli/Makefile               |  6 ++----
>   lang/coffeescript/Makefile                     |  4 ++--
>   net/cjdns/Makefile                             |  6 +++---
>   security/greenbone-security-assistant/Makefile |  6 +++---
>   textproc/kibana6/Makefile                      |  5 ++---
>   textproc/kibana7/Makefile                      |  8 +++-----
>   textproc/opensearch-dashboards/Makefile        |  7 +++----
>   www/Makefile                                   |  2 ++
>   www/csso/Makefile                              |  4 ++--
>   www/gitlab-ce/Makefile                         |  2 +-
>   www/npm-node14/Makefile                        |  5 ++---
>   www/npm-node16/Makefile                        |  5 ++---
>   www/npm-node17/Makefile                        | 11 +++++++++++
>   www/npm/Makefile                               | 17 ++++-------------

As a ports builder I am utterly confused.

# pkg info | egrep '(npm|node)'
# egrep -i '(npm|node)' /etc/make.conf
#

# make -V RUN_DEPENDS:Mnode\*
node:www/node16

Why does www/npm now default to www/node? Before this change the options 
defaulted to NODE which was www/node.

~/git/ports/main/www # echo npm*
npm npm-node14 npm-node16 npm-node17
~/git/ports/main/www # echo node*
node node10 node14 node16

Why is the main port origin for node not using the same version as the 
main port origin for npm? Shouldn't both be using the "lts" default 
version of 16?


-- 
Regards,
Bryan Drewery