# $NetBSD: buildlink3.mk,v 1.9 2020/11/05 09:06:57 ryoon Exp $ BUILDLINK_TREE+= nodejs .if !defined(NODEJS_BUILDLINK3_MK) NODEJS_BUILDLINK3_MK:= BUILDLINK_API_DEPENDS.nodejs+= nodejs>=10 BUILDLINK_ABI_DEPENDS.nodejs+= nodejs>=12.19.0nb1 BUILDLINK_PKGSRCDIR.nodejs?= ../../lang/nodejs .include "../../mk/bsd.fast.prefs.mk" .if ${OPSYS} != "Darwin" .include "../../devel/libexecinfo/buildlink3.mk" .endif # Stated by the changelog BUILDLINK_API_DEPENDS.libuv+= libuv>=1.23 .include "../../devel/libuv/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../net/libcares/buildlink3.mk" .include "../../textproc/icu/buildlink3.mk" # Requires nghttp2_option_set_max_settings BUILDLINK_API_DEPENDS.nghttp2+= nghttp2>=1.41.0 .include "../../www/nghttp2/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" pkgbase := nodejs .include "../../mk/pkg-build-options.mk" .if ${PKG_BUILD_OPTIONS.nodejs:Mopenssl} . include "../../security/openssl/buildlink3.mk" .endif .endif # NODEJS_BUILDLINK3_MK BUILDLINK_TREE+= -nodejs