pkgsrc/lang/nodejs6/buildlink3.mk
fhajny 02d9e00033 lang/nodejs: Use pkgsrc http-parser, libuv, libcares instead of bundled versions.
Switch back to bundled nghttp2 on lang/nodejs to reconcile a conflict
of OpenSSL versions.
2018-05-12 08:59:56 +00:00

31 lines
795 B
Makefile

# $NetBSD: buildlink3.mk,v 1.2 2018/05/12 08:59:56 fhajny Exp $
BUILDLINK_TREE+= nodejs
.if !defined(NODEJS_BUILDLINK3_MK)
NODEJS_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.nodejs+= nodejs>=6<7
BUILDLINK_PKGSRCDIR.nodejs?= ../../lang/nodejs6
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} != "Darwin"
.include "../../devel/libexecinfo/buildlink3.mk"
.endif
.include "../../devel/libuv/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../net/libcares/buildlink3.mk"
.include "../../www/http-parser/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
pkgbase := nodejs
.include "../../mk/pkg-build-options.mk"
.if !empty(PKG_BUILD_OPTIONS.nodejs:Mopenssl)
. include "../../security/openssl/buildlink3.mk"
.endif
.endif # NODEJS_BUILDLINK3_MK
BUILDLINK_TREE+= -nodejs