2020-06-18 06:58:24 +02:00
|
|
|
# $NetBSD: buildlink3.mk,v 1.8 2020/06/18 04:58:24 gutteridge Exp $
|
2019-12-09 21:05:40 +01:00
|
|
|
|
|
|
|
BUILDLINK_TREE+= nodejs
|
|
|
|
|
|
|
|
.if !defined(NODEJS_BUILDLINK3_MK)
|
|
|
|
NODEJS_BUILDLINK3_MK:=
|
|
|
|
|
|
|
|
BUILDLINK_API_DEPENDS.nodejs+= nodejs>=10
|
2020-06-02 10:22:31 +02:00
|
|
|
BUILDLINK_ABI_DEPENDS.nodejs+= nodejs>=12.17.0nb1
|
2019-12-09 21:05:40 +01:00
|
|
|
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"
|
2020-06-18 06:58:24 +02:00
|
|
|
# Requires nghttp2_option_set_max_settings
|
|
|
|
BUILDLINK_API_DEPENDS.nghttp2+= nghttp2>=1.41.0
|
2020-01-24 19:55:49 +01:00
|
|
|
.include "../../www/nghttp2/buildlink3.mk"
|
2019-12-09 21:05:40 +01:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
|
|
|
|
|
|
pkgbase := nodejs
|
|
|
|
.include "../../mk/pkg-build-options.mk"
|
|
|
|
|
2020-06-03 10:42:41 +02:00
|
|
|
.if ${PKG_BUILD_OPTIONS.nodejs:Mopenssl}
|
2020-01-24 19:55:49 +01:00
|
|
|
. include "../../security/openssl/buildlink3.mk"
|
|
|
|
.endif
|
2019-12-09 21:05:40 +01:00
|
|
|
|
|
|
|
.endif # NODEJS_BUILDLINK3_MK
|
|
|
|
|
|
|
|
BUILDLINK_TREE+= -nodejs
|