summaryrefslogtreecommitdiff
path: root/lang/rust/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lang/rust/buildlink3.mk')
-rw-r--r--lang/rust/buildlink3.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/rust/buildlink3.mk b/lang/rust/buildlink3.mk
new file mode 100644
index 00000000000..128555fd73a
--- /dev/null
+++ b/lang/rust/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2016/09/06 10:36:49 jperkin Exp $
+
+BUILDLINK_TREE+= rust
+
+.if !defined(RUST_BUILDLINK3_MK)
+RUST_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.rust+= rust>=0.11.0
+BUILDLINK_PKGSRCDIR.rust?= ../../lang/rust
+
+BUILDLINK_PASSTHRU_DIRS+= ${PREFIX}/lib/rustlib
+.endif
+
+BUILDLINK_TREE+= -rust