pkgsrc/lang/nodejs12/buildlink3.mk
gutteridge 088cc5f256 nodejs/nodejs10/nodejs12: these now require nghttp2>=1.41.0
As of the last updates to each of these, made earlier this month, they
now require nghttp2>=1.41.0 to build. They expect
nghttp2_option_set_max_settings to be available.
2020-06-18 04:58:24 +00:00

37 lines
1 KiB
Makefile

# $NetBSD: buildlink3.mk,v 1.8 2020/06/18 04:58:24 gutteridge Exp $
BUILDLINK_TREE+= nodejs
.if !defined(NODEJS_BUILDLINK3_MK)
NODEJS_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.nodejs+= nodejs>=10
BUILDLINK_ABI_DEPENDS.nodejs+= nodejs>=12.17.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