summaryrefslogtreecommitdiff
path: root/lang/rust
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2021-04-20 11:54:32 +0000
committerhe <he@pkgsrc.org>2021-04-20 11:54:32 +0000
commitc6fcaeded06084eb5d095f7a03d3c60b1683fb6e (patch)
tree5f9b855f4a6cdac08b52892c90a2ffdb0b2d684f /lang/rust
parent5edcc213bdc0502d95e7f6be2c49da0e21b261e5 (diff)
downloadpkgsrc-c6fcaeded06084eb5d095f7a03d3c60b1683fb6e.tar.gz
Fix errors and most warnings flagged by pkglint.
Note to self: run pkglint before committing. Thanks to jperkin@ for the note.
Diffstat (limited to 'lang/rust')
-rw-r--r--lang/rust/Makefile4
-rw-r--r--lang/rust/buildlink3.mk6
-rw-r--r--lang/rust/cross.mk14
3 files changed, 12 insertions, 12 deletions
diff --git a/lang/rust/Makefile b/lang/rust/Makefile
index 3e7402194d7..f0ce2d427b6 100644
--- a/lang/rust/Makefile
+++ b/lang/rust/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.230 2021/04/19 17:08:09 he Exp $
+# $NetBSD: Makefile,v 1.231 2021/04/20 11:54:32 he Exp $
DISTNAME= rustc-1.50.0-src
PKGNAME= ${DISTNAME:S/rustc/rust/:S/-src//}
@@ -49,7 +49,7 @@ CONFIGURE_ARGS+= --disable-ninja
.include "cross.mk"
.if !empty(rust.BUILD_TARGET)
-BUILD_TARGET= ${rust.BUILD_TARGET)
+BUILD_TARGET= ${rust.BUILD_TARGET}
.endif
.if !empty(TARGET)
diff --git a/lang/rust/buildlink3.mk b/lang/rust/buildlink3.mk
index 0e97a2db0f5..74197f623fd 100644
--- a/lang/rust/buildlink3.mk
+++ b/lang/rust/buildlink3.mk
@@ -1,11 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.8 2021/04/19 17:08:09 he Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2021/04/20 11:54:32 he Exp $
+
+BUILDLINK_TREE+= rust
#
# DO NOT include this directly! Use rust.mk instead.
#
-BUILDLINK_TREE+= rust
-
.if !defined(RUST_BUILDLINK3_MK)
RUST_BUILDLINK3_MK:=
diff --git a/lang/rust/cross.mk b/lang/rust/cross.mk
index ba4acf8a537..5be0d21957e 100644
--- a/lang/rust/cross.mk
+++ b/lang/rust/cross.mk
@@ -1,4 +1,4 @@
-# $NetBSD: cross.mk,v 1.4 2021/04/19 17:08:09 he Exp $
+# $NetBSD: cross.mk,v 1.5 2021/04/20 11:54:32 he Exp $
# These settings may be used to cross-build rust.
#
@@ -38,7 +38,7 @@
#TARGET= powerpc-unknown-netbsd
#TARGET= aarch64-unknown-netbsd
#TARGET= i686-unknown-netbsd
-#TARGET= i586-unknown-netbsd
+#TARGET= i586-unknown-netbsd
#
#SCRIPTS= ${WRKDIR}/scripts
#CONFIGURE_ARGS+= --host=${TARGET}
@@ -57,15 +57,15 @@
# Cross-compile illumos target. The host is identical, it's just the target
# that is renamed from x86_64-sun-solaris to x86_64-unknown-illumos.
#
-#TARGET= x86_64-unknown-illumos
+#TARGET= x86_64-unknown-illumos
#
# Use these variables for "cross-compiling" from x86_64-sun-solaris.
#
-#CONFIGURE_ARGS+= --set=target.${TARGET}.llvm-config=${LLVM_CONFIG_PATH}
-#CONFIGURE_ARGS+= --host=${TARGET}
-#CONFIGURE_ARGS+= --target=${TARGET}
+#CONFIGURE_ARGS+= --set=target.${TARGET}.llvm-config=${LLVM_CONFIG_PATH}
+#CONFIGURE_ARGS+= --host=${TARGET}
+#CONFIGURE_ARGS+= --target=${TARGET}
#
# Set this variable when using a native x86_64-unknown-illumos bootstrap, as
# the build still defaults to x86_64-sun-solaris based on uname.
#
-#CONFIGURE_ARGS+= --build=${TARGET}
+#CONFIGURE_ARGS+= --build=${TARGET}