aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuraj Lutter <otis@FreeBSD.org>2023-02-13 10:44:49 +0000
committerJuraj Lutter <otis@FreeBSD.org>2023-02-21 11:10:35 +0000
commitc17cd31dfb63a90bb7b11fb826706b56694b7fef (patch)
tree0bba15a6a07ac1a2aca0b9ff6646fa8cfe65abb7
parent6c68e001c76b31f78630b670892dab64a90b61b7 (diff)
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
-rw-r--r--www/node16/Makefile11
-rw-r--r--www/node16/distinfo6
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