pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/rust Fix errors and most warnings flagged by pkgl...
details: https://anonhg.NetBSD.org/pkgsrc/rev/eca256720ee5
branches: trunk
changeset: 450588:eca256720ee5
user: he <he%pkgsrc.org@localhost>
date: Tue Apr 20 11:54:32 2021 +0000
description:
Fix errors and most warnings flagged by pkglint.
Note to self: run pkglint before committing.
Thanks to jperkin@ for the note.
diffstat:
lang/rust/Makefile | 4 ++--
lang/rust/buildlink3.mk | 6 +++---
lang/rust/cross.mk | 14 +++++++-------
3 files changed, 12 insertions(+), 12 deletions(-)
diffs (75 lines):
diff -r e97cbe721ba6 -r eca256720ee5 lang/rust/Makefile
--- a/lang/rust/Makefile Tue Apr 20 11:23:19 2021 +0000
+++ b/lang/rust/Makefile Tue Apr 20 11:54:32 2021 +0000
@@ -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 @@
.include "cross.mk"
.if !empty(rust.BUILD_TARGET)
-BUILD_TARGET= ${rust.BUILD_TARGET)
+BUILD_TARGET= ${rust.BUILD_TARGET}
.endif
.if !empty(TARGET)
diff -r e97cbe721ba6 -r eca256720ee5 lang/rust/buildlink3.mk
--- a/lang/rust/buildlink3.mk Tue Apr 20 11:23:19 2021 +0000
+++ b/lang/rust/buildlink3.mk Tue Apr 20 11:54:32 2021 +0000
@@ -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 -r e97cbe721ba6 -r eca256720ee5 lang/rust/cross.mk
--- a/lang/rust/cross.mk Tue Apr 20 11:23:19 2021 +0000
+++ b/lang/rust/cross.mk Tue Apr 20 11:54:32 2021 +0000
@@ -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}
Home |
Main Index |
Thread Index |
Old Index