Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
lang/rust: update to 1.15.0
  • Loading branch information
g5pw committed Feb 7, 2017
1 parent 5f6f940 commit 8531e22
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions lang/rust/Portfile
Expand Up @@ -5,7 +5,7 @@ PortGroup active_variants 1.1
PortGroup compiler_blacklist_versions 1.0

name rust
version 1.14.0
version 1.15.0
categories lang devel
platforms darwin
supported_archs i386 x86_64
Expand Down Expand Up @@ -38,8 +38,8 @@ pre-fetch {

# stage0 is found from
# https://github.com/rust-lang/rust/blob/${version}/src/stage0.txt
set stage0(date) 2016-11-08
set stage0(version) 1.13.0
set stage0(date) 2016-12-18
set stage0(version) 1.14.0
set stage0(platform) ${configure.build_arch}-apple-darwin

# Sigh...
Expand All @@ -57,19 +57,19 @@ master_sites https://static.rust-lang.org/dist/:main \
distfiles ${name}c-${version}-src${extract.suffix}:main \
${stage0(distfile)}:snap

worksrcdir ${name}c-${version}
worksrcdir ${name}c-${version}-src

checksums ${name}c-${version}-src${extract.suffix} \
rmd160 692d0d63ec998fd44327a1caab78baa2f1eefa25 \
sha256 c790edd2e915bd01bea46122af2942108479a2fda9a6f76d1094add520ac3b6b \
rmd160 fec442e2cb3e6bc0f521b7a660397ff307d746dd \
sha256 33f3747d231ede34b56c6cc0ae6be8cbaa29d2fdb39d86f25693dceb9fc5f164 \

switch ${configure.build_arch} {
i386 {checksums-append ${stage0(distfile)} \
rmd160 8e0ef96aeeec553cc04cfc6394de00bd73972947 \
sha256 ef1cf0b89a885af11c7f871e146c5fc79b360e2f34eb960b88d748cad730e98f}
rmd160 df488512aabb8dfdc40921703740a762628b0db0 \
sha256 009684ef279e4ed827853a69334126354eea53a08995b4088a2c3eb1e20dd963}
default {checksums-append ${stage0(distfile)} \
rmd160 b4b72a44660ce5c6731657317ec8cefd7784662b \
sha256 5bc52ce5ed2edf608a9e7c591067855cf2b16e43faf3ebb741ee160fd7b0a80d}
rmd160 00c950cfe6f9b86637a55097c10e9919c2930f5a \
sha256 a9f4f12757bd9719be9e771d922eb05afa23912fc81f3ed171701da512402b27}
}

# Only use compilers supported by upstream
Expand Down Expand Up @@ -113,6 +113,7 @@ if {${configure.build_arch} eq "i386"} {
# (https://github.com/rust-lang/rust/issues/11747)
# TODO: Build docs also, probably in a subport.
configure.args --disable-docs \
--disable-rustbuild \
--enable-local-rust \
--local-rust-root=${workpath}/${stage0(distname)}/rustc

Expand Down

0 comments on commit 8531e22

Please sign in to comment.