pkgsrc/lang/nodejs/Makefile
adam 19ac058519 nodejs: updated to 13.13.0
Version 13.13.0 (Current)

Notable Changes

New file system APIs

Added a new function, fs.readv (with sync and promisified versions). This function takes an array of ArrayBufferView elements and will write the data it reads sequentially to the buffers.
A new overload is available for fs.readSync, which allows to optionally pass any of the offset, length and position parameters.

Other changes

dns:
Added the dns.ALL flag, that can be passed to dns.lookup() with dns.V4MAPPED to return resolved IPv6 addresses as well as IPv4 mapped IPv6 addresses.

http:
The default maximum HTTP header size was changed from 8KB to 16KB.

n-api:
Calls to napi_call_threadsafe_function from the main thread can now return the napi_would_deadlock status in certain circumstances.

util:
Added a new maxStrLength option to util.inspect, to control the maximum length of printed strings. Its default value is Infinity.

worker:
Added support for passing a transferList along with workerData to the Worker constructor
2020-04-17 07:51:55 +00:00

31 lines
789 B
Makefile

# $NetBSD: Makefile,v 1.178 2020/04/17 07:51:55 adam Exp $
DISTNAME= node-v13.13.0
EXTRACT_SUFX= .tar.xz
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+= --shared-openssl
CONFIGURE_ARGS+= --with-intl=system-icu
CHECK_PORTABILITY_SKIP+= tools/macos-installer/pkgbuild/npm/scripts/preinstall
.if ${MACHINE_ARCH} == "i386"
# 64 bit atomic ops are required
CXXFLAGS+= -march=i586
# required for SSE2 code under i386.
CXXFLAGS+= -mstackrealign
.endif
.include "options.mk"
.include "../../lang/nodejs/Makefile.common"
.include "../../textproc/icu/buildlink3.mk"
.include "../../www/nghttp2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"