summaryrefslogtreecommitdiff
path: root/lang/rust/buildlink3.mk
blob: 315ed7f95277989134c39c5f0f52075f8f1ff716 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# $NetBSD: buildlink3.mk,v 1.10 2022/06/28 11:34:15 wiz Exp $

BUILDLINK_TREE+=	rust

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

.if !defined(RUST_BUILDLINK3_MK)
RUST_BUILDLINK3_MK:=

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

BUILDLINK_TREE+=	-rust