[116506] trunk/dports/lang/rust

g5pw at macports.org g5pw at macports.org
Mon Jan 27 05:33:06 PST 2014


Revision: 116506
          https://trac.macports.org/changeset/116506
Author:   g5pw at macports.org
Date:     2014-01-27 05:33:06 -0800 (Mon, 27 Jan 2014)
Log Message:
-----------
lang/rust:
  update to 0.9

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

Added Paths:
-----------
    trunk/dports/lang/rust/files/
    trunk/dports/lang/rust/files/src_etc_local_stage0.sh.diff

Modified: trunk/dports/lang/rust/Portfile
===================================================================
--- trunk/dports/lang/rust/Portfile	2014-01-27 11:19:45 UTC (rev 116505)
+++ trunk/dports/lang/rust/Portfile	2014-01-27 13:33:06 UTC (rev 116506)
@@ -6,7 +6,7 @@
 PortGroup           compiler_blacklist_versions 1.0
 
 name                rust
-version             0.8
+version             0.9
 categories          lang devel
 platforms           darwin
 supported_archs     i386 x86_64
@@ -36,26 +36,26 @@
 master_sites        http://static.rust-lang.org/dist:dist
 distfiles           ${distname}${extract.suffix}:dist
 checksums           ${distname}${extract.suffix} \
-                        rmd160  c2646032eb6aa26eb5a0f1552177c1d1363223b1 \
-                        sha256  42f791ab1537357fe0f63d67ffe6bcb64ecf16b2bd3f1484ab589823f5914182 \
+                        rmd160  5cee2a9249b116c667ec3d23e2a70f704a9fa0b8 \
+                        sha256  c0911c3545b797a1ca16f3d76bf5ed234754b828efd1e22c182c7300ac7dd5d1 \
 
 # Select the snapshot compiler; see src/snapshots.txt in distribution.
 set stage0(distdir)             rust-stage0
-set stage0(date)                2013-09-23
-set stage0(rev)                 348d844
+set stage0(date)                2014-01-20
+set stage0(rev)                 b6400f9
 platform darwin i386 {
     set stage0(platform)        macos-${configure.build_arch}
     switch ${configure.build_arch} {
         x86_64 {
-            set stage0(hash)    efefdca6b4a40ebeb977037ebbf46c1353f09ee5
-            set stage0(rmd160)  64e5a8beccd67e1abb04e67892a0db845db418dd
-            set stage0(sha256)  ed46ae8bcd52b2574713e01a39ccd4c81d7ffe9303905dea0ee7b484c6a963f5
+            set stage0(hash)    6458d3b46a951da62c20dd5b587d44333402e30b
+            set stage0(rmd160)  afffc2ca08e82200543f502758765aa55dd7750d
+            set stage0(sha256)  c0a7331863cbd162b33655a5d10378c356b2480d8d11bb5f2c69ec25a38bd7cc
         }
         i386 -
         default {
-            set stage0(hash)    7085e4dd6bc63864f2ad8a3a21dab945ffd99d8d
-            set stage0(rmd160)  e4cac7f49094c11f90ecacb7f8191e0c253bd3b9
-            set stage0(sha256)  08183c0c2398fb8b48ea6a11a38ff664473cf5e458078908663ff1feab1662e0
+            set stage0(hash)    3e38ca0328422469ba5f25544ca2a9770cff438d
+            set stage0(rmd160)  a8f03ab4b65d89a1927cff5ef2d67a46f9300843
+            set stage0(sha256)  391b001d668599d046d8ade6a9cb05dc45199245e738440ad5bc4440b3e6b88a
         }
     }
     set stage0(distfile)        [join "rust stage0 ${stage0(date)}
@@ -93,6 +93,8 @@
                     macports-dragonegg-3.2 macports-dragonegg-3.3 \
                     macports-gcc-4.2 macports-gcc-4.3 macports-gcc-4.4
 
+patchfiles          src_etc_local_stage0.sh.diff
+
 post-patch {
     # TODO: Use patches for these when the build system stops changing
     # so much between releases.
@@ -127,11 +129,11 @@
 # TODO: Test whether i386 machines can cross-compile for x86_64.
 platform darwin i386 {
     set tgts {i686-apple-darwin x86_64-apple-darwin}
-    configure.pre_args-append       --target-triples=[join $tgts ,]
+    configure.pre_args-append       --target=[join $tgts ,]
     if {${configure.build_arch} eq "i386"} {
-        configure.pre_args-append   --build-triple=[lindex $tgts 0]
+        configure.pre_args-append   --build=[lindex $tgts 0]
     } else {
-        configure.pre_args-append   --build-triple=[lindex $tgts 1]
+        configure.pre_args-append   --build=[lindex $tgts 1]
     }
 }
 # TODO: Build docs also, probably in a subport.
@@ -157,6 +159,7 @@
 
 destroot.args       VERBOSE=1
 post-destroot {
+    # Install vim files
     foreach dir {after/syntax ftdetect indent syntax} {
         xinstall -d ${destroot}${prefix}/share/vim/vimfiles/${dir}
         xinstall -m 644 ${worksrcpath}/src/etc/vim/${dir}/rust.vim \

Added: trunk/dports/lang/rust/files/src_etc_local_stage0.sh.diff
===================================================================
--- trunk/dports/lang/rust/files/src_etc_local_stage0.sh.diff	                        (rev 0)
+++ trunk/dports/lang/rust/files/src_etc_local_stage0.sh.diff	2014-01-27 13:33:06 UTC (rev 116506)
@@ -0,0 +1,11 @@
+--- src/etc/local_stage0.sh	2014-01-12 21:47:36.000000000 +0100
++++ src/etc/local_stage0.sh.new	2014-01-12 21:57:52.000000000 +0100
+@@ -44,8 +44,3 @@
+ fi
+ 
+ cp ${PREFIX}/bin/rustc${BIN_SUF} ${TARG_DIR}/stage0/bin/
+-cp ${PREFIX}/${LIB_DIR}/${RUSTLIBDIR}/${TARG_DIR}/${LIB_DIR}/* ${TARG_DIR}/stage0/${LIB_DIR}/
+-cp ${PREFIX}/${LIB_DIR}/${LIB_PREFIX}extra*${LIB_SUF} ${TARG_DIR}/stage0/${LIB_DIR}/
+-cp ${PREFIX}/${LIB_DIR}/${LIB_PREFIX}rust*${LIB_SUF} ${TARG_DIR}/stage0/${LIB_DIR}/
+-cp ${PREFIX}/${LIB_DIR}/${LIB_PREFIX}std*${LIB_SUF} ${TARG_DIR}/stage0/${LIB_DIR}/
+-cp ${PREFIX}/${LIB_DIR}/${LIB_PREFIX}syntax*${LIB_SUF} ${TARG_DIR}/stage0/${LIB_DIR}/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140127/5f53d954/attachment.html>


More information about the macports-changes mailing list