summaryrefslogtreecommitdiff
path: root/www/node24/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/node24/Makefile')
-rw-r--r--www/node24/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/www/node24/Makefile b/www/node24/Makefile
index 8683c23a18ab..6f4bc01e5ee6 100644
--- a/www/node24/Makefile
+++ b/www/node24/Makefile
@@ -1,6 +1,7 @@
PORTNAME= node
PORTVERSION= ${NODEJS_PORTVERSION}
DISTVERSIONPREFIX= v
+PORTREVISION= 3
CATEGORIES= www
MASTER_SITES= https://nodejs.org/dist/v${PORTVERSION}/
PKGNAMESUFFIX= ${PORTVERSION:R:R}
@@ -21,18 +22,21 @@ BUILD_DEPENDS= objdump:devel/binutils
LIB_DEPENDS= libbrotlidec.so:archivers/brotli \
libcares.so:dns/c-ares \
libicui18n.so:devel/icu \
+ libllhttp.so:www/llhttp \
libnghttp2.so:www/libnghttp2 \
libnghttp3.so:www/libnghttp3 \
libngtcp2.so:net/libngtcp2 \
libsimdjson.so:devel/simdjson \
libuv.so:devel/libuv \
libzstd.so:archivers/zstd
+RUN_DEPENDS= corepack>=0:www/corepack
USES= compiler:c++11-lang gmake localbase pkgconfig python:build shebangfix tar:xz
CONFIGURE_ARGS= --prefix=${PREFIX:S|^${DESTDIR}||} \
--shared-brotli \
--shared-cares \
+ --shared-http-parser \
--shared-libuv \
--shared-nghttp2 \
--shared-nghttp3 \
@@ -40,6 +44,7 @@ CONFIGURE_ARGS= --prefix=${PREFIX:S|^${DESTDIR}||} \
--shared-simdjson \
--shared-zlib \
--shared-zstd \
+ --without-corepack \
--with-intl=system-icu \
--without-npm
CXXFLAGS_powerpc64= -mpower8-vector
@@ -82,6 +87,9 @@ post-patch:
# Clean up bundled libraries
@${RM} -r ${WRKSRC}/deps/brotli/
@${RM} -r ${WRKSRC}/deps/cares/
+ @${RM} -r ${WRKSRC}/deps/corepack/
+ @${RM} -r ${WRKSRC}/deps/icu-small/
+ @${RM} -r ${WRKSRC}/deps/llhttp/
@${RM} -r ${WRKSRC}/deps/nghttp2/
@${RM} -r ${WRKSRC}/deps/ngtcp2/
@${RM} -r ${WRKSRC}/deps/npm/