pkgsrc/lang/nodejs/buildlink3.mk
2021-12-08 16:01:42 +00:00

37 lines
1 KiB
Makefile

# $NetBSD: buildlink3.mk,v 1.17 2021/12/08 16:02:16 adam Exp $
BUILDLINK_TREE+= nodejs
.if !defined(NODEJS_BUILDLINK3_MK)
NODEJS_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.nodejs+= nodejs>=10
BUILDLINK_ABI_DEPENDS.nodejs?= nodejs>=14.18.1
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