diff options
Diffstat (limited to 'lang')
-rw-r--r-- | lang/rust/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lang/rust/Makefile b/lang/rust/Makefile index d8e759d4240..ab28e3d3a9c 100644 --- a/lang/rust/Makefile +++ b/lang/rust/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.224 2021/04/04 09:23:37 nia Exp $ +# $NetBSD: Makefile,v 1.225 2021/04/04 10:21:44 he Exp $ DISTNAME= rustc-1.49.0-src PKGNAME= ${DISTNAME:S/rustc/rust/:S/-src//} @@ -540,6 +540,14 @@ stage0-bootstrap: install DEPENDS+= libatomic-links>=0:../../devel/libatomic-links .endif +.if ${BUILD_TARGET} == "build" +# This is without rust-cargo-static option, so need these available. +BUILDLINK_API_DEPENDS.nghttp2+= nghttp2>=1.41.0 +BUILDLINK_API_DEPENDS.curl+= curl>=7.67.0 +. include "../../www/curl/buildlink3.mk" +. include "../../security/openssl/buildlink3.mk" +.endif + .include "../../devel/zlib/buildlink3.mk" .include "../../lang/python/tool.mk" .include "../../mk/bsd.pkg.mk" |