git: c17cd31dfb63 - main - www/node16: Update to 16.19.1 and use ccache if available

From: Juraj Lutter <otis_at_FreeBSD.org>
Date: Tue, 21 Feb 2023 11:10:47 UTC
The branch main has been updated by otis:

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

commit c17cd31dfb63a90bb7b11fb826706b56694b7fef
Author:     Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2023-02-13 10:44:49 +0000
Commit:     Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2023-02-21 11:10:35 +0000

    www/node16: Update to 16.19.1 and use ccache if available
    
    - Update to 16.19.1
    - Set CC_host and CXX_host to also use ccache when available. This helps
    to speed up the build significantly.
    
    And while here, also portclippy/portfmt a bit.
    
    PR:             269491
---
 www/node16/Makefile | 11 +++++++----
 www/node16/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/www/node16/Makefile b/www/node16/Makefile
index 91afb2ec9a65..25b4da8b1b30 100644
--- a/www/node16/Makefile
+++ b/www/node16/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	node
 DISTVERSIONPREFIX=	v
-DISTVERSION=	16.19.0
+DISTVERSION=	16.19.1
 CATEGORIES=	www
 MASTER_SITES=	https://nodejs.org/dist/v${DISTVERSION}/
 PKGNAMESUFFIX=	16
@@ -45,10 +45,13 @@ CONFIGURE_ENV+=	CC_host="${CCACHE_BIN} ${CC}" \
 		CFLAGS_host="${CFLAGS}" \
 		CXX_host="${CCACHE_BIN} ${CXX}" \
 		CXXFLAGS_host="${CXXFLAGS}" \
-		LDFLAGS_host="${LDFLAGS}" \
-		LINK_host=${CXX}
-MAKE_ENV+=	CFLAGS.host="${CFLAGS}" \
+		LINK_host=${CXX} \
+		LDFLAGS_host="${LDFLAGS}"
+MAKE_ARGS+=	CC.host="${CCACHE_BIN} ${CC}" \
+		CFLAGS.host="${CFLAGS}" \
+		CXX.host="${CCACHE_BIN} ${CXX}" \
 		CXXFLAGS.host="${CXXFLAGS}" \
+		LINK.host=${CXX} \
 		LDFLAGS.host="${LDFLAGS}"
 
 CONFLICTS_INSTALL=	node[0-9][0-9]
diff --git a/www/node16/distinfo b/www/node16/distinfo
index ab79b4bad808..b9d5090cecef 100644
--- a/www/node16/distinfo
+++ b/www/node16/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1670943372
-SHA256 (node-v16.19.0.tar.gz) = 8b8a2939fa5f654ff61cae29b12118c24109273458ecbe6162ad8a8858309e0d
-SIZE (node-v16.19.0.tar.gz) = 67613249
+TIMESTAMP = 1676931050
+SHA256 (node-v16.19.1.tar.gz) = e795d23b2924b69e02fcc670335a5cd3a7ce121557fdc585f9e5bda0e77550ea
+SIZE (node-v16.19.1.tar.gz) = 66927450