Hi,

Here an update for lang/rust.

For release note see https://blog.rust-lang.org/2016/10/20/Rust-1.12.1.html.
For the full change see https://github.com/rust-lang/rust/pull/37173.

Please note I rebuilded the bootstrap due to bug in rustc: 1.12.0 wasn't
able to rebuild 1.12.1 without intrusive patch is build system. It
should be corrected in next version of rustc, and I upgraded the
Makefile to try rebuilding when major are same between bootstrap and
version.

Diff tested with `make test', and by rebuilding devel/cargo.

Thanks.
-- 
Sebastien Marie


Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/rust/Makefile,v
retrieving revision 1.30
diff -u -p -r1.30 Makefile
--- Makefile    5 Oct 2016 16:48:10 -0000       1.30
+++ Makefile    21 Oct 2016 18:04:17 -0000
@@ -7,12 +7,12 @@ PKG_ARCH-doc =                *
 COMMENT-main =         compiler for Rust Language
 COMMENT-doc =          html documentation for rustc
 
-V =                    1.12.0
-BV =                   1.12.0-20160929
+V =                    1.12.1
+BV =                   1.12.1-20161021
 DISTNAME =             rustc-${V}-src
 
 #RUST_HASH !=          echo -n ${V} | md5 | cut -c1-8
-RUST_HASH =            40393716
+RUST_HASH =            5c6cf767
 SUBST_VARS +=          RUST_HASH
 
 PKGNAME =              rust-${V}
@@ -87,8 +87,8 @@ CONFIGURE_ARGS +=     --disable-valgrind-rpa
                        --prefix="${LOCALBASE}" \
                        --mandir="${LOCALBASE}/man"
 
-# VERSION and BOOTSTRAP are same version
-.if ${V} == ${BV:C/-[0-9]+$//}
+# VERSION and BOOTSTRAP are same major version
+.if ${V:C/\.[0-9]+$//} == ${BV:C/\.[0-9]+-[0-9]+$//}
 CONFIGURE_ARGS +=      --enable-local-rebuild
 .endif
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/lang/rust/distinfo,v
retrieving revision 1.17
diff -u -p -r1.17 distinfo
--- distinfo    5 Oct 2016 16:48:10 -0000       1.17
+++ distinfo    21 Oct 2016 18:04:17 -0000
@@ -1,4 +1,4 @@
-SHA256 (rust/rustc-1.12.0-src.tar.gz) = 
rFkH1vqWwZvVkB2NmTg/uHVRJ1cerT1AcMzpwftfM3o=
-SHA256 (rust/rustc-bootstrap-amd64-1.12.0-20160929.tar.gz) = 
VjewvFzkgatD8nKLpLmaCtWkRecoNWDNOd3GrdYH42U=
-SIZE (rust/rustc-1.12.0-src.tar.gz) = 27501444
-SIZE (rust/rustc-bootstrap-amd64-1.12.0-20160929.tar.gz) = 24459997
+SHA256 (rust/rustc-1.12.1-src.tar.gz) = 
l5E65MslVhiqrNGlNLEfNDY0sECzJlYlDQnY2ewC09w=
+SHA256 (rust/rustc-bootstrap-amd64-1.12.1-20161021.tar.gz) = 
KNG9v6HBcpbf/rr2IaaPkHgjNQ1EwothEswHPdNV4mo=
+SIZE (rust/rustc-1.12.1-src.tar.gz) = 27511443
+SIZE (rust/rustc-bootstrap-amd64-1.12.1-20161021.tar.gz) = 25133752

Reply via email to