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

larryv at macports.org larryv at macports.org
Tue Mar 12 02:10:57 PDT 2013


Revision: 103990
          https://trac.macports.org/changeset/103990
Author:   larryv at macports.org
Date:     2013-03-12 02:10:57 -0700 (Tue, 12 Mar 2013)
Log Message:
-----------
[sandbox] rust: Delete empty libraries.

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

Modified: users/larryv/dports/lang/rust/Portfile
===================================================================
--- users/larryv/dports/lang/rust/Portfile	2013-03-12 07:18:56 UTC (rev 103989)
+++ users/larryv/dports/lang/rust/Portfile	2013-03-12 09:10:57 UTC (rev 103990)
@@ -123,6 +123,14 @@
         xinstall -m 644 ${worksrcpath}/src/etc/vim/${dir}/rust.vim \
             ${destroot}${prefix}/share/vim/vimfiles/${dir}
     }
+
+    # Remove empty libraries until https://github.com/mozilla/rust/issues/4468
+    # is resolved, possibly in the 0.6 release.
+    foreach library {libcargo librustc librustdoc librusti} {
+        if {[file size ${destroot}${prefix}/lib/${library}.dylib] == 0} {
+            delete ${destroot}${prefix}/lib/${library}.dylib
+        }
+    }
 }
 
 livecheck.type      regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130312/1c668648/attachment.html>


More information about the macports-changes mailing list