pkgsrc/lang/nodejs/Makefile
adam 5d2233d67f nodejs: updated to 18.7.0
Version 18.7.0 (Current)

Notable changes

doc:
add F3n67u to collaborators (Feng Yu)
deprecate coercion to integer in process.exit (Daeyeon Jeong)
(SEMVER-MINOR) deprecate diagnostics_channel object subscribe method (Stephen Belanger)
events:
(SEMVER-MINOR) expose CustomEvent on global with CLI flag (Daeyeon Jeong)
(SEMVER-MINOR) add CustomEvent (Daeyeon Jeong)
http:
(SEMVER-MINOR) add drop request event for http server (theanarkh)
lib:
(SEMVER-MINOR) improved diagnostics_channel subscribe/unsubscribe (Stephen Belanger)
util:
(SEMVER-MINOR) add tokens to parseArgs (John Gee)
2022-07-27 08:42:23 +00:00

47 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.239 2022/07/27 08:42:23 adam Exp $
DISTNAME= node-v18.7.0
EXTRACT_SUFX= .tar.xz
USE_LANGUAGES= c gnu++17
BUILD_DEPENDS+= ${PYPKGPREFIX}-expat>=0:../../textproc/py-expat
.include "../../mk/bsd.prefs.mk"
# XXX: figure out a way to add rpaths to torque
MAKE_ENV+= LD_LIBRARY_PATH=${PREFIX}/lib
CONFIGURE_ARGS+= --shared-brotli
CONFIGURE_ARGS+= --shared-nghttp2
CONFIGURE_ARGS+= --with-intl=system-icu
CONFIGURE_ARGS+= --without-corepack
PYTHON_VERSIONS_INCOMPATIBLE= 27
CHECK_PORTABILITY_SKIP+= deps/v8/tools/cppgc/export_to_github.sh
CHECK_PORTABILITY_SKIP+= deps/v8/tools/cppgc/test_cmake.sh
CHECK_PORTABILITY_SKIP+= tools/macos-installer/pkgbuild/npm/scripts/preinstall
.if ${MACHINE_ARCH} == "i386"
# required for SSE2 code under i386.
CXXFLAGS+= -mstackrealign
.endif
.include "options.mk"
# Node turns on -latomic for arm, mips and ppc.
.if !empty(MACHINE_ARCH:M*arm*) || \
!empty(MACHINE_ARCH:M*powerpc*) || \
!empty(MACHINE_ARCH:M*mips*)
.include "../../devel/libatomic/buildlink3.mk"
.endif
.include "../../lang/nodejs/Makefile.common"
.include "../../archivers/brotli/buildlink3.mk"
.include "../../textproc/icu/buildlink3.mk"
# Requires nghttp2_option_set_max_settings
BUILDLINK_API_DEPENDS.nghttp2+= nghttp2>=1.41.0
.include "../../www/nghttp2/buildlink3.mk"
.include "../../mk/atomic64.mk"
.include "../../mk/bsd.pkg.mk"