diff options
author | he <he@pkgsrc.org> | 2019-11-11 10:28:34 +0000 |
---|---|---|
committer | he <he@pkgsrc.org> | 2019-11-11 10:28:34 +0000 |
commit | 8094dea181c183bf4c687876adc08c35bd76fac7 (patch) | |
tree | adeede6220ae003f27115a4f7e652e6e6babba6d /lang/rust | |
parent | 15a885bca3e62933632a92d44973460aa1491731 (diff) | |
download | pkgsrc-8094dea181c183bf4c687876adc08c35bd76fac7.tar.gz |
Undo insertion of tabs in rust source, as this would make the
test target fail. Thanks jperkin!
Also, bump NetBSD/sparc64 bootstrap to 1.38.
Diffstat (limited to 'lang/rust')
-rw-r--r-- | lang/rust/Makefile | 4 | ||||
-rw-r--r-- | lang/rust/distinfo | 4 | ||||
-rw-r--r-- | lang/rust/patches/patch-src_libunwind_build.rs | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/lang/rust/Makefile b/lang/rust/Makefile index 84703103d8f..67555147e12 100644 --- a/lang/rust/Makefile +++ b/lang/rust/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.124 2019/11/11 09:09:11 he Exp $ +# $NetBSD: Makefile,v 1.125 2019/11/11 10:28:34 he Exp $ DISTNAME= rustc-1.39.0-src PKGNAME= ${DISTNAME:S/rustc/rust/:S/-src//} @@ -252,7 +252,7 @@ SITES.${RUST_STD_STAGE0}= ${MASTER_SITE_LOCAL:=rust/} pre-build-fix: .endif .if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc64) || make(distinfo) || make (makesum) || make(mdi) -RUST_STAGE0_VER= 1.37.0 +RUST_STAGE0_VER= 1.38.0 RUST_ARCH= sparc64-unknown-netbsd RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz diff --git a/lang/rust/distinfo b/lang/rust/distinfo index 275f82e5d5e..063c425c0f3 100644 --- a/lang/rust/distinfo +++ b/lang/rust/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.92 2019/11/11 09:09:11 he Exp $ +$NetBSD: distinfo,v 1.93 2019/11/11 10:28:34 he Exp $ SHA1 (rust-1.35.0-armv7-unknown-netbsd-eabihf.tar.gz) = 91517fa95f954427c627cf63eb7c518abd068f3e RMD160 (rust-1.35.0-armv7-unknown-netbsd-eabihf.tar.gz) = 06a3d922b27aac2deb570301542897a131b47cd0 @@ -114,7 +114,7 @@ SHA1 (patch-src_librustc__target_spec_solaris__base.rs) = 21db8af802edecb5e35ce7 SHA1 (patch-src_librustc__target_spec_x86__64__sun__solaris.rs) = f6ad33b41906bbf83a1cbd0e2fe13a4da37266fa SHA1 (patch-src_libstd_build.rs) = 9cfa91a11a575d5fef6d3e208864745a24770850 SHA1 (patch-src_libstd_sys_unix_thread.rs) = 2554f1a42afaa0ddce5053860f4dabecdf6c527a -SHA1 (patch-src_libunwind_build.rs) = 33fe6fd2027cb7070424e9a30c05438586b5c6b7 +SHA1 (patch-src_libunwind_build.rs) = 723ded63580812f74d04c447f90925725ae9bfc9 SHA1 (patch-src_llvm-project_llvm_CMakeLists.txt) = d49503d19c30a64d571eb7fa79e7aad7038cd427 SHA1 (patch-src_llvm-project_llvm_cmake_modules_AddLLVM.cmake) = c5e74d0e8deb555881ec94920a637b53b744c866 SHA1 (patch-src_llvm-project_llvm_include_llvm-c_DataTypes.h) = 7588a46aaa277ef04b33ac6d904b9d1d81579f2a diff --git a/lang/rust/patches/patch-src_libunwind_build.rs b/lang/rust/patches/patch-src_libunwind_build.rs index 49222d7237b..dac5b2f25c4 100644 --- a/lang/rust/patches/patch-src_libunwind_build.rs +++ b/lang/rust/patches/patch-src_libunwind_build.rs @@ -1,4 +1,4 @@ -$NetBSD: patch-src_libunwind_build.rs,v 1.3 2019/11/11 09:09:11 he Exp $ +$NetBSD: patch-src_libunwind_build.rs,v 1.4 2019/11/11 10:28:34 he Exp $ fix build on NetBSD HEAD-llvm. XXX there is probably a better way to do this. @@ -9,9 +9,9 @@ fix build on NetBSD HEAD-llvm. XXX there is probably a better way to do this. println!("cargo:rustc-link-lib=unwind"); } else if target.contains("netbsd") { - println!("cargo:rustc-link-lib=gcc_s"); -+ if !env::var_os("PKGSRC_HAVE_LIBCPP").is_some() { ++ if !env::var_os("PKGSRC_HAVE_LIBCPP").is_some() { + println!("cargo:rustc-link-lib=gcc_s"); -+ } ++ } } else if target.contains("openbsd") { if target.contains("sparc64") { println!("cargo:rustc-link-lib=gcc"); |