pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/rust
Module Name: pkgsrc
Committed By: he
Date: Sun Apr 4 10:21:45 UTC 2021
Modified Files:
pkgsrc/lang/rust: Makefile
Log Message:
We need curl and openssl buildlinked if BUILD_TARGET is "build".
This is because in that case we're not using the rust-internal
copies of those libraries, governed by the rust-cargo-static option.
To generate a diff of this commit:
cvs rdiff -u -r1.224 -r1.225 pkgsrc/lang/rust/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/rust/Makefile
diff -u pkgsrc/lang/rust/Makefile:1.224 pkgsrc/lang/rust/Makefile:1.225
--- pkgsrc/lang/rust/Makefile:1.224 Sun Apr 4 09:23:37 2021
+++ pkgsrc/lang/rust/Makefile Sun Apr 4 10:21:44 2021
@@ -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"
Home |
Main Index |
Thread Index |
Old Index