diff options
Diffstat (limited to 'lang/nodejs/buildlink3.mk')
-rw-r--r-- | lang/nodejs/buildlink3.mk | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/lang/nodejs/buildlink3.mk b/lang/nodejs/buildlink3.mk new file mode 100644 index 00000000000..65f9752263c --- /dev/null +++ b/lang/nodejs/buildlink3.mk @@ -0,0 +1,31 @@ +# $NetBSD: buildlink3.mk,v 1.1 2018/05/04 14:28:32 fhajny Exp $ + +BUILDLINK_TREE+= nodejs + +.if !defined(NODEJS_BUILDLINK3_MK) +NODEJS_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.nodejs+= nodejs>=10 +BUILDLINK_PKGSRCDIR.nodejs?= ../../lang/nodejs + +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} != "Darwin" +.include "../../devel/libexecinfo/buildlink3.mk" +.endif +.include "../../devel/zlib/buildlink3.mk" +.include "../../textproc/icu/buildlink3.mk" +.include "../../www/nghttp2/buildlink3.mk" +.include "../../mk/pthread.buildlink3.mk" + +pkgbase := nodejs +.include "../../mk/pkg-build-options.mk" + +# Enable when we start using pkgsrc openssl-1.1.x +#.if !empty(PKG_BUILD_OPTIONS.nodejs:Mopenssl) +#. include "../../security/openssl/buildlink3.mk" +#.endif + +.endif # NODEJS_BUILDLINK3_MK + +BUILDLINK_TREE+= -nodejs |