summaryrefslogtreecommitdiff
path: root/lang/rust
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2018-09-21 21:26:33 +0000
committerminskim <minskim@pkgsrc.org>2018-09-21 21:26:33 +0000
commita14a46460d463071f50f6d7b97e0f70bcd68593b (patch)
treeeb15f7de379a9ccf348c85d6ac5fde0ba1b91da0 /lang/rust
parent5fd65a72d5acb04057a0c591f29a3df73e51ed75 (diff)
downloadpkgsrc-a14a46460d463071f50f6d7b97e0f70bcd68593b.tar.gz
lang/rust: Move common BUILD_DEPENDS in rust packages to cargo.mk
Diffstat (limited to 'lang/rust')
-rw-r--r--lang/rust/cargo.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/rust/cargo.mk b/lang/rust/cargo.mk
index 8050107d4ad..dedddebb7ad 100644
--- a/lang/rust/cargo.mk
+++ b/lang/rust/cargo.mk
@@ -1,4 +1,4 @@
-# $NetBSD: cargo.mk,v 1.2 2018/05/06 01:59:36 maya Exp $
+# $NetBSD: cargo.mk,v 1.3 2018/09/21 21:26:33 minskim Exp $
#
# Common logic that can be used by packages that depend on cargo crates
# from crates.io. This lets existing pkgsrc infrastructure fetch and verify
@@ -20,6 +20,8 @@
#
# See also www/geckodriver for a full example.
+BUILD_DEPENDS+= rust-[0-9]*:../../lang/rust
+
USE_TOOLS+= bsdtar digest
CARGO_VENDOR_DIR= ${WRKDIR}/vendor