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
This commit is contained in:
Juraj Lutter 2023-02-13 11:44:49 +01:00
parent 6c68e001c7
commit c17cd31dfb
2 changed files with 10 additions and 7 deletions

View file

@ -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]

View file

@ -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