Date: Tue, 17 Feb 2026 16:55:28 +0000 From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 26f272117aae - main - www/node22: Use devel/libada and devel/uvwasi instead of the bundled ones Message-ID: <69949d80.26af5.70e62a7d@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=26f272117aae224967a0d07b5b03097290780282 commit 26f272117aae224967a0d07b5b03097290780282 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2026-02-17 16:50:21 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2026-02-17 16:53:38 +0000 www/node22: Use devel/libada and devel/uvwasi instead of the bundled ones - Cosmetic change - Bump PORTREVISION for dependency change --- www/node22/Makefile | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/www/node22/Makefile b/www/node22/Makefile index f680d43d023d..d2fcd9c82edd 100644 --- a/www/node22/Makefile +++ b/www/node22/Makefile @@ -1,6 +1,7 @@ PORTNAME= node PORTVERSION= ${NODEJS_PORTVERSION} DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= https://nodejs.org/dist/v${PORTVERSION}/ PKGNAMESUFFIX= ${PORTVERSION:R:R} @@ -18,7 +19,8 @@ BROKEN_SSL_REASON= Node.js ${PORTVERSION:R:R}.x requires OpenSSL or the BUNDLED_ ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc64 powerpc64le BUILD_DEPENDS= objdump:devel/binutils -LIB_DEPENDS= libbrotlidec.so:archivers/brotli \ +LIB_DEPENDS= libada.so:devel/libada \ + libbrotlidec.so:archivers/brotli \ libcares.so:dns/c-ares \ libicui18n.so:devel/icu \ libllhttp.so:www/llhttp \ @@ -27,12 +29,14 @@ LIB_DEPENDS= libbrotlidec.so:archivers/brotli \ libngtcp2.so:net/libngtcp2 \ libsimdjson.so:devel/simdjson \ libuv.so:devel/libuv \ + libuvwasi.so:devel/uvwasi \ libzstd.so:archivers/zstd RUN_DEPENDS= corepack>=0:www/corepack -USES= compiler:c++11-lang gmake localbase pkgconfig python:build shebangfix sqlite tar:xz +USES= compiler:c++20-lang gmake localbase pkgconfig python:build shebangfix sqlite tar:xz CONFIGURE_ARGS= --prefix=${PREFIX:S|^${DESTDIR}||} \ + --shared-ada \ --shared-brotli \ --shared-cares \ --shared-http-parser \ @@ -43,10 +47,12 @@ CONFIGURE_ARGS= --prefix=${PREFIX:S|^${DESTDIR}||} \ --shared-ngtcp2 \ --shared-simdjson \ --shared-sqlite \ + --shared-uvwasi \ + --shared-uvwasi-includes=${LOCALBASE}/include \ --shared-zlib \ --shared-zstd \ - --without-corepack \ --with-intl=system-icu \ + --without-corepack \ --without-npm CXXFLAGS_powerpc64= -mpower8-vector HAS_CONFIGURE= yes @@ -85,6 +91,7 @@ CONFIGURE_ARGS+=--openssl-no-asm post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/tools/v8_gypfiles/v8.gyp # Clean up bundled libraries + @${RM} -r ${WRKSRC}/deps/ada/ @${RM} -r ${WRKSRC}/deps/brotli/ @${RM} -r ${WRKSRC}/deps/cares/ @${RM} -r ${WRKSRC}/deps/corepack/ @@ -96,6 +103,7 @@ post-patch: @${RM} -r ${WRKSRC}/deps/simdjson/ @${RM} -r ${WRKSRC}/deps/sqlite/ @${RM} -r ${WRKSRC}/deps/uv/ + @${RM} -r ${WRKSRC}/deps/uvwasi/ @${RM} -r ${WRKSRC}/deps/zlib/ @${RM} -r ${WRKSRC}/deps/zstd/ @@ -104,9 +112,9 @@ post-configure: # all occurrences of -I${LOCALBASE}/include. C*FLAGS include this # before all -I../deps/* for bundled code. This can cause build # breakages if the dependency is installed in ${LOCALBASE}. The - # USES+=localbase # above will ensure that we pick up includes for real + # USES+=localbase above will ensure that we pick up includes for real # external dependencies. - ${FIND} ${WRKSRC}/out -type f -print0 | ${XARGS} -0 ${REINPLACE_CMD} -e "s|-I${LOCALBASE}/include||g" + @${FIND} ${WRKSRC}/out -type f -print0 | ${XARGS} -0 ${REINPLACE_CMD} -e 's|-I${LOCALBASE}/include||g' post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/nodehome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69949d80.26af5.70e62a7d>
