git: 8b6b416fd19e - 2025Q2 - www/node*: Rename NLS option to ICU

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 01 Jun 2025 17:27:05 UTC
The branch 2025Q2 has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8b6b416fd19ec0bf56a2c95503206fcdb231f04f

commit 8b6b416fd19ec0bf56a2c95503206fcdb231f04f
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2025-05-03 07:40:55 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-06-01 17:20:23 +0000

    www/node*: Rename NLS option to ICU
    
    For consistency with the rest of the tree
    
    PR:             285595
    Approved by:    maintainer timeout (1+ month)
    
    (cherry picked from commit 5ea03f8cebfd52f831a3ae51df0ba017e134390b)
---
 www/node18/Makefile | 10 +++++-----
 www/node20/Makefile | 10 +++++-----
 www/node22/Makefile | 10 +++++-----
 www/node23/Makefile | 10 +++++-----
 4 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/www/node18/Makefile b/www/node18/Makefile
index 80e514443048..93dee0754de1 100644
--- a/www/node18/Makefile
+++ b/www/node18/Makefile
@@ -52,8 +52,8 @@ SHEBANG_FILES=	deps/v8/third_party/inspector_protocol/*.py \
 		tools/*.py \
 		tools/inspector_protocol/*.py
 
-OPTIONS_DEFINE=	BUNDLED_SSL DOCS JIT NLS
-OPTIONS_DEFAULT=JIT
+OPTIONS_DEFINE=	BUNDLED_SSL DOCS ICU JIT
+OPTIONS_DEFAULT=ICU JIT
 OPTIONS_SUB=	yes
 BUNDLED_SSL_DESC=	Use bundled OpenSSL implementation from node.js
 JIT_DESC=		Use Just In Time compiler
@@ -61,10 +61,10 @@ JIT_DESC=		Use Just In Time compiler
 BUNDLED_SSL_CONFIGURE_OFF=	--openssl-use-def-ca-store --shared-openssl
 BUNDLED_SSL_RUN_DEPENDS_OFF=	ca_root_nss>=0:security/ca_root_nss
 BUNDLED_SSL_USES_OFF=	ssl
+ICU_BUILD_DEPENDS=	icu>=69.1:devel/icu
+ICU_CONFIGURE_ON=	--with-intl=system-icu
+ICU_LIB_DEPENDS=	libicui18n.so:devel/icu
 JIT_CONFIGURE_OFF=	--v8-lite-mode
-NLS_BUILD_DEPENDS=	icu>=69.1:devel/icu
-NLS_CONFIGURE_ON=	--with-intl=system-icu
-NLS_LIB_DEPENDS=	libicui18n.so:devel/icu
 
 .include "Makefile.version"
 .include <bsd.port.pre.mk>
diff --git a/www/node20/Makefile b/www/node20/Makefile
index 4d4ebf08f1d8..bd3f8a2dcaf2 100644
--- a/www/node20/Makefile
+++ b/www/node20/Makefile
@@ -52,8 +52,8 @@ SHEBANG_FILES=	deps/v8/third_party/inspector_protocol/*.py \
 		tools/*.py \
 		tools/inspector_protocol/*.py
 
-OPTIONS_DEFINE=	BUNDLED_SSL DOCS JIT NLS
-OPTIONS_DEFAULT=JIT
+OPTIONS_DEFINE=	BUNDLED_SSL DOCS ICU JIT
+OPTIONS_DEFAULT=ICU JIT
 OPTIONS_SUB=	yes
 BUNDLED_SSL_DESC=	Use bundled OpenSSL implementation from node.js
 JIT_DESC=		Use Just In Time compiler
@@ -61,10 +61,10 @@ JIT_DESC=		Use Just In Time compiler
 BUNDLED_SSL_CONFIGURE_OFF=	--openssl-use-def-ca-store --shared-openssl
 BUNDLED_SSL_RUN_DEPENDS_OFF=	ca_root_nss>=0:security/ca_root_nss
 BUNDLED_SSL_USES_OFF=	ssl
+ICU_BUILD_DEPENDS=	icu>=69.1:devel/icu
+ICU_CONFIGURE_ON=	--with-intl=system-icu
+ICU_LIB_DEPENDS=	libicui18n.so:devel/icu
 JIT_CONFIGURE_OFF=	--v8-lite-mode
-NLS_BUILD_DEPENDS=	icu>=69.1:devel/icu
-NLS_CONFIGURE_ON=	--with-intl=system-icu
-NLS_LIB_DEPENDS=	libicui18n.so:devel/icu
 
 .include "Makefile.version"
 .include <bsd.port.options.mk>
diff --git a/www/node22/Makefile b/www/node22/Makefile
index 4d4ebf08f1d8..bd3f8a2dcaf2 100644
--- a/www/node22/Makefile
+++ b/www/node22/Makefile
@@ -52,8 +52,8 @@ SHEBANG_FILES=	deps/v8/third_party/inspector_protocol/*.py \
 		tools/*.py \
 		tools/inspector_protocol/*.py
 
-OPTIONS_DEFINE=	BUNDLED_SSL DOCS JIT NLS
-OPTIONS_DEFAULT=JIT
+OPTIONS_DEFINE=	BUNDLED_SSL DOCS ICU JIT
+OPTIONS_DEFAULT=ICU JIT
 OPTIONS_SUB=	yes
 BUNDLED_SSL_DESC=	Use bundled OpenSSL implementation from node.js
 JIT_DESC=		Use Just In Time compiler
@@ -61,10 +61,10 @@ JIT_DESC=		Use Just In Time compiler
 BUNDLED_SSL_CONFIGURE_OFF=	--openssl-use-def-ca-store --shared-openssl
 BUNDLED_SSL_RUN_DEPENDS_OFF=	ca_root_nss>=0:security/ca_root_nss
 BUNDLED_SSL_USES_OFF=	ssl
+ICU_BUILD_DEPENDS=	icu>=69.1:devel/icu
+ICU_CONFIGURE_ON=	--with-intl=system-icu
+ICU_LIB_DEPENDS=	libicui18n.so:devel/icu
 JIT_CONFIGURE_OFF=	--v8-lite-mode
-NLS_BUILD_DEPENDS=	icu>=69.1:devel/icu
-NLS_CONFIGURE_ON=	--with-intl=system-icu
-NLS_LIB_DEPENDS=	libicui18n.so:devel/icu
 
 .include "Makefile.version"
 .include <bsd.port.options.mk>
diff --git a/www/node23/Makefile b/www/node23/Makefile
index 4d4ebf08f1d8..bd3f8a2dcaf2 100644
--- a/www/node23/Makefile
+++ b/www/node23/Makefile
@@ -52,8 +52,8 @@ SHEBANG_FILES=	deps/v8/third_party/inspector_protocol/*.py \
 		tools/*.py \
 		tools/inspector_protocol/*.py
 
-OPTIONS_DEFINE=	BUNDLED_SSL DOCS JIT NLS
-OPTIONS_DEFAULT=JIT
+OPTIONS_DEFINE=	BUNDLED_SSL DOCS ICU JIT
+OPTIONS_DEFAULT=ICU JIT
 OPTIONS_SUB=	yes
 BUNDLED_SSL_DESC=	Use bundled OpenSSL implementation from node.js
 JIT_DESC=		Use Just In Time compiler
@@ -61,10 +61,10 @@ JIT_DESC=		Use Just In Time compiler
 BUNDLED_SSL_CONFIGURE_OFF=	--openssl-use-def-ca-store --shared-openssl
 BUNDLED_SSL_RUN_DEPENDS_OFF=	ca_root_nss>=0:security/ca_root_nss
 BUNDLED_SSL_USES_OFF=	ssl
+ICU_BUILD_DEPENDS=	icu>=69.1:devel/icu
+ICU_CONFIGURE_ON=	--with-intl=system-icu
+ICU_LIB_DEPENDS=	libicui18n.so:devel/icu
 JIT_CONFIGURE_OFF=	--v8-lite-mode
-NLS_BUILD_DEPENDS=	icu>=69.1:devel/icu
-NLS_CONFIGURE_ON=	--with-intl=system-icu
-NLS_LIB_DEPENDS=	libicui18n.so:devel/icu
 
 .include "Makefile.version"
 .include <bsd.port.options.mk>