pkgsrc/lang/nodejs10/Makefile
adam 83e110c4e2 nodejs10: updated to 10.18.1
Version 10.18.1 'Dubnium':

Notable changes
http2: fix session memory accounting after pausing
n-api: correct bug in napi_get_last_error
tools: update tzdata to 2019c
2020-01-24 18:57:09 +00:00

36 lines
956 B
Makefile

# $NetBSD: Makefile,v 1.3 2020/01/24 18:57:09 adam Exp $
DISTNAME= node-v10.18.1
USE_LANGUAGES= c gnu++14
# Requires http_parser_set_max_header_size
BUILDLINK_API_DEPENDS.http-parser+= http-parser>=2.9.0
.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-http-parser
CONFIGURE_ARGS+= --shared-nghttp2
CONFIGURE_ARGS+= --with-intl=system-icu
CHECK_PORTABILITY_SKIP+= deps/openssl/openssl/.travis-create-release.sh
PYTHON_VERSIONS_ACCEPTED= 27
.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/http-parser/buildlink3.mk"
.include "../../www/nghttp2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"