summaryrefslogtreecommitdiff
path: root/lang/rust/buildlink3.mk
blob: 4866b13668c42f938211cd4bb571cbe867fe2a7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# $NetBSD: buildlink3.mk,v 1.6 2020/07/08 14:46:14 jperkin Exp $

#
# DO NOT include this directly! Use rust.mk instead.
#
BUILDLINK_TREE+=	rust

.if !defined(RUST_BUILDLINK3_MK)
RUST_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.rust+=	rust>=1.20.0
BUILDLINK_PKGSRCDIR.rust?=	../../lang/rust
BUILDLINK_PASSTHRU_DIRS+=	${PREFIX}/lib/rustlib
.endif

BUILDLINK_TREE+=	-rust