[123771] trunk/dports/lang/rust

larryv at macports.org larryv at macports.org
Wed Aug 13 21:34:10 PDT 2014


Revision: 123771
          https://trac.macports.org/changeset/123771
Author:   larryv at macports.org
Date:     2014-08-13 21:34:10 -0700 (Wed, 13 Aug 2014)
Log Message:
-----------
rust: Update to d917770 from 13 August.

Builds fine on Lion and Mountain Lion now (#44314).

Modified Paths:
--------------
    trunk/dports/lang/rust/Portfile

Removed Paths:
-------------
    trunk/dports/lang/rust/files/

Modified: trunk/dports/lang/rust/Portfile
===================================================================
--- trunk/dports/lang/rust/Portfile	2014-08-14 04:34:07 UTC (rev 123770)
+++ trunk/dports/lang/rust/Portfile	2014-08-14 04:34:10 UTC (rev 123771)
@@ -6,7 +6,8 @@
 PortGroup           compiler_blacklist_versions 1.0
 PortGroup           github 1.0
 
-github.setup        rust-lang rust 0.11.0
+github.setup        rust-lang rust d9177707926d4fbed9dd9e4e7afc9a8c185dafe0
+version             0.12.0-pre-20140813-d917770
 categories          lang devel
 platforms           darwin
 supported_archs     i386 x86_64
@@ -66,22 +67,22 @@
 # distribution.
 master_sites            http://static.rust-lang.org/stage0-snapshots
 set stage0(distdir)     rust-stage0
-set stage0(date)        2014-06-21
-set stage0(rev)         db9af1d
+set stage0(date)        2014-08-07
+set stage0(rev)         12e0f72
 set stage0(platform)    macos-${configure.build_arch}
 set stage0(hash)        [expr {${configure.build_arch} eq "i386" ?
-                                "3f25b2680efbab16ad074477a19d49dcce475977" :
-                                "4a8c2e1b7634d73406bac32a1a97893ec3ed818d"}]
+                                "78f1996954a6e0718d684a3756b4870a6f8771ee" :
+                                "216f46f65866207a9f41c3ed654f5c1e085cb7f3"}]
 use_bzip2               yes
 distname                [join "rust stage0 ${stage0(date)}
                                            ${stage0(rev)}
                                            ${stage0(platform)}
                                            ${stage0(hash)}" -]
 switch ${configure.build_arch} {
-    i386    {checksums  rmd160  7c344247d62a417d703de720ac01881bcbf4fc25 \
-                        sha256  42cef980dee52ad2cbd07795df07d3a3e96d013e08ea5a83cd54c266eecab698}
-    default {checksums  rmd160  6c7da644b90a567c615d83ff4af99b411a81a419 \
-                        sha256  2c63e45ae276812f4429389584cf1eb0a9c0ef182f6f9e15a2731d3e30c03ea8}
+    i386    {checksums  rmd160  5059e8b5ca4f603db3df5068574a455235c705a5 \
+                        sha256  c628b709a26a99768438353bb29c3a0946c495abe93d92be8260d5a1f27a42c5}
+    default {checksums  rmd160  2b70aedc8f4ad70f47631470df6b2766e8e4a428 \
+                        sha256  a8a4a6a327518abacabb9dc2e62c583251708fec4b95d26e06e56da6e0d7bec9}
 }
 
 # Only use compilers supported by upstream
@@ -91,8 +92,6 @@
                     gcc-3.3 {*gcc-4.[0-6]} \
                     macports-clang-2.9
 
-patchfiles          src_etc_local_stage0.sh.diff
-
 post-patch {
     # Stop build from treating compiler warnings as errors.
     reinplace {s/ -Werror//g} mk/platform.mk
@@ -127,9 +126,13 @@
 } else {
     configure.pre_args-append   --build=[lindex $tgts 1]
 }
+# We need to use "--enable-rpath" as of a0546de, otherwise the build
+# produces improperly linked binaries.
+# (https://github.com/rust-lang/rust/issues/11747)
 # TODO: Build docs also, probably in a subport.
 configure.args      --disable-docs \
                     --enable-local-rust \
+                    --enable-rpath \
                     --local-rust-root=${workpath}/${stage0(distdir)}
 
 build.type          gnu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140813/a2d06625/attachment-0001.html>


More information about the macports-changes mailing list