9bde877c08
Version 12.17.0 'Erbium' (LTS): Notable Changes ECMAScript Modules - --experimental-modules flag removal AsyncLocalStorage API (experimental) REPL previews REPL reverse-i-search REPL substring-based search Error monitoring Monitoring uncaught exceptions File system APIs Console groupIndentation option maxStringLength option for util.inspect() Stable N-API release 6 Stable diagnostic reports Increase of the default server headers timeout
29 lines
743 B
Makefile
29 lines
743 B
Makefile
# $NetBSD: Makefile,v 1.15 2020/05/26 16:50:00 adam Exp $
|
|
|
|
DISTNAME= node-v12.17.0
|
|
|
|
USE_LANGUAGES= c gnu++14
|
|
|
|
.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-nghttp2
|
|
CONFIGURE_ARGS+= --with-intl=system-icu
|
|
|
|
CHECK_PORTABILITY_SKIP+= deps/openssl/openssl/.travis-create-release.sh
|
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
# 64 bit atomic ops are required
|
|
CXXFLAGS+= -march=i586
|
|
# required for SSE2 code under i386.
|
|
CXXFLAGS+= -mstackrealign
|
|
.endif
|
|
|
|
.include "../../lang/nodejs/options.mk"
|
|
|
|
.include "../../lang/nodejs/Makefile.common"
|
|
.include "../../textproc/icu/buildlink3.mk"
|
|
.include "../../www/nghttp2/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|