diff options
Diffstat (limited to 'www/node20/Makefile')
| -rw-r--r-- | www/node20/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/www/node20/Makefile b/www/node20/Makefile index d921874d4ce5..64b6eb85a279 100644 --- a/www/node20/Makefile +++ b/www/node20/Makefile @@ -1,6 +1,7 @@ PORTNAME= node PORTVERSION= ${NODEJS_PORTVERSION} DISTVERSIONPREFIX= v +PORTREVISION= 4 CATEGORIES= www MASTER_SITES= https://nodejs.org/dist/v${PORTVERSION}/ PKGNAMESUFFIX= ${PORTVERSION:R:R} @@ -21,23 +22,28 @@ 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 +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-http-parser-libname=llhttp \ --shared-libuv \ --shared-nghttp2 \ --shared-nghttp3 \ --shared-ngtcp2 \ --shared-simdjson \ --shared-zlib \ + --without-corepack \ --with-intl=system-icu \ --without-npm CXXFLAGS_powerpc64= -mpower8-vector @@ -80,6 +86,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/ @@ -99,4 +108,7 @@ post-configure: post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/node +post-install-BUNDLED_SSL-on: + cd ${STAGEDIR}${PREFIX} && ${FIND} include/node/openssl/ -type f >> ${TMPPLIST} + .include <bsd.port.mk> |
