[104026] users/larryv/dports/lang/rust/Portfile

larryv at macports.org larryv at macports.org
Tue Mar 12 22:22:06 PDT 2013


Revision: 104026
          https://trac.macports.org/changeset/104026
Author:   larryv at macports.org
Date:     2013-03-12 22:22:06 -0700 (Tue, 12 Mar 2013)
Log Message:
-----------
[sandbox] rust: Reword some stuff.

Modified Paths:
--------------
    users/larryv/dports/lang/rust/Portfile

Modified: users/larryv/dports/lang/rust/Portfile
===================================================================
--- users/larryv/dports/lang/rust/Portfile	2013-03-13 05:15:51 UTC (rev 104025)
+++ users/larryv/dports/lang/rust/Portfile	2013-03-13 05:22:06 UTC (rev 104026)
@@ -82,8 +82,8 @@
                         patch-src-etc-local_stage0.sh.diff \
                         patch-src-librusti-rusti.rc.diff \
                         patch-src-rustllvm-RustWrapper.cpp.diff
-# Non-Apple GCC doesn't accept -Wnewline-eof.
-# https://github.com/mozilla/rust/issues/4783
+# Non-Apple GCC (and, by extension, DragonEgg) doesn't accept
+# -Wnewline-eof. https://github.com/mozilla/rust/issues/4783
 if {[string first clang ${configure.compiler}] == -1} {
     patchfiles-append   patch-non_apple_gcc.diff
 }
@@ -117,7 +117,7 @@
 configure.args      --disable-docs \
                     --enable-local-rust \
                     --local-rust-root=${workpath}/${stage0(distdir)}
-if {[string match *clang* ${configure.compiler}]} {
+if {[string first clang ${configure.compiler}] != -1} {
     configure.args-append   --enable-clang
 }
 
@@ -140,8 +140,7 @@
     }
 
     # Remove zero-byte libraries until
-    # https://github.com/mozilla/rust/issues/4468 is resolved, possibly
-    # in the 0.6 release.
+    # https://github.com/mozilla/rust/issues/4468 is resolved.
     delete ${destroot}${prefix}/lib/libcargo.dylib \
         ${destroot}${prefix}/lib/librustc.dylib \
         ${destroot}${prefix}/lib/librustdoc.dylib \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130312/867d3dfc/attachment.html>


More information about the macports-changes mailing list