pkgsrc/lang/nodejs12/Makefile

30 lines
743 B
Makefile
Raw Normal View History

# $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"