2020-05-26 18:50:00 +02:00
|
|
|
# $NetBSD: Makefile,v 1.15 2020/05/26 16:50:00 adam Exp $
|
2019-12-09 21:05:40 +01:00
|
|
|
|
2020-05-26 18:50:00 +02:00
|
|
|
DISTNAME= node-v12.17.0
|
2019-12-09 21:05:40 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2020-01-24 19:55:49 +01:00
|
|
|
CONFIGURE_ARGS+= --shared-nghttp2
|
2019-12-09 21:05:40 +01:00
|
|
|
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
|
|
|
|
|
2020-01-24 19:55:49 +01:00
|
|
|
.include "../../lang/nodejs/options.mk"
|
2019-12-09 21:05:40 +01:00
|
|
|
|
|
|
|
.include "../../lang/nodejs/Makefile.common"
|
|
|
|
.include "../../textproc/icu/buildlink3.mk"
|
2020-01-24 19:55:49 +01:00
|
|
|
.include "../../www/nghttp2/buildlink3.mk"
|
2019-12-09 21:05:40 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|