git: 0aa154c63f41 - main - www/node18: Update to 18.17.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 16 Aug 2023 18:30:56 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0aa154c63f41abc4cdc1be647daf1a47129efcfd

commit 0aa154c63f41abc4cdc1be647daf1a47129efcfd
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-08-16 18:10:56 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-08-16 18:25:12 +0000

    www/node18: Update to 18.17.0
    
    - Remove unneeded .include <bsd.port.options.mk>
    - Sort PLIST
    
    Changes:        https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V18.md
---
 www/node18/Makefile  | 14 ++++++--------
 www/node18/distinfo  |  6 +++---
 www/node18/pkg-plist |  3 ++-
 3 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/www/node18/Makefile b/www/node18/Makefile
index 443bbd8c9ec4..0644e576f339 100644
--- a/www/node18/Makefile
+++ b/www/node18/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	node
-PORTVERSION=	18.16.1
+PORTVERSION=	18.17.0
 DISTVERSIONPREFIX=	v
 CATEGORIES=	www
 MASTER_SITES=	https://nodejs.org/dist/v${PORTVERSION}/
@@ -73,7 +73,11 @@ NLS_BUILD_DEPENDS=	icu>=69.1:devel/icu
 NLS_CONFIGURE_ON=	--with-intl=system-icu
 NLS_LIB_DEPENDS=	libicui18n.so:devel/icu
 
-.include <bsd.port.options.mk>
+.include <bsd.port.pre.mk>
+
+.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 && ${ARCH} == aarch64
+CXXFLAGS+=	-Wno-error=enum-constexpr-conversion
+.endif
 
 .if (defined(PPC_ABI) && ${PPC_ABI} == ELFv2) || ${ARCH} == powerpc64le
 EXTRA_PATCHES=	${PATCHDIR}/extra-patch-common.gypi
@@ -98,10 +102,4 @@ post-configure:
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/node
 
-.include <bsd.port.pre.mk>
-
-.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 && ${ARCH} == aarch64
-CXXFLAGS+=	-Wno-error=enum-constexpr-conversion
-.endif
-
 .include <bsd.port.post.mk>
diff --git a/www/node18/distinfo b/www/node18/distinfo
index b6c8939af5bc..8580cb023a5b 100644
--- a/www/node18/distinfo
+++ b/www/node18/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1688166100
-SHA256 (node-v18.16.1.tar.gz) = 518f4c8dc23a26d8df77288d94e254b6015d792026ff9ba0c2316af255875fa5
-SIZE (node-v18.16.1.tar.gz) = 85440226
+TIMESTAMP = 1691069944
+SHA256 (node-v18.17.0.tar.gz) = 7aaa157c0219b5895a4bd51d9e9731e0d0eb0ab9424fdbdcf30d01b3e5fb74e9
+SIZE (node-v18.17.0.tar.gz) = 85943718
diff --git a/www/node18/pkg-plist b/www/node18/pkg-plist
index f831dd239edb..7e299ce81986 100644
--- a/www/node18/pkg-plist
+++ b/www/node18/pkg-plist
@@ -2236,8 +2236,8 @@ include/node/v8-exception.h
 include/node/v8-extension.h
 include/node/v8-external.h
 include/node/v8-forward.h
-include/node/v8-function.h
 include/node/v8-function-callback.h
+include/node/v8-function.h
 include/node/v8-initialization.h
 include/node/v8-internal.h
 include/node/v8-isolate.h
@@ -2277,6 +2277,7 @@ lib/node_modules/corepack/CHANGELOG.md
 lib/node_modules/corepack/LICENSE.md
 lib/node_modules/corepack/README.md
 lib/node_modules/corepack/dist/corepack.js
+lib/node_modules/corepack/dist/lib/corepack.cjs
 lib/node_modules/corepack/dist/npm.js
 lib/node_modules/corepack/dist/npx.js
 lib/node_modules/corepack/dist/pnpm.js