pkgsrc/lang/rust/buildlink3.mk
jperkin 09cb88c6d2 rust: Add support for cross-compiling illumos.
It's not really cross-compiled, it's just a different target name, but is
treated the same way.  Once stabilised and crate support catches up we'll
switch over to it by default from x86_64-sun-solaris.  Until then I'll
build bootstrap kits for both natively.

While here fix up a bunch of obvious pkglint warnings.
2020-07-08 14:46:14 +00:00

16 lines
365 B
Makefile

# $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