[103991] users/larryv/dports/lang/rust/Portfile
larryv at macports.org
larryv at macports.org
Tue Mar 12 02:26:56 PDT 2013
Revision: 103991
https://trac.macports.org/changeset/103991
Author: larryv at macports.org
Date: 2013-03-12 02:26:56 -0700 (Tue, 12 Mar 2013)
Log Message:
-----------
[sandbox] rust: Eh. Let's be explicit about those 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 09:10:57 UTC (rev 103990)
+++ users/larryv/dports/lang/rust/Portfile 2013-03-12 09:26:56 UTC (rev 103991)
@@ -86,7 +86,7 @@
# Upstream only supports gcc 4.4 and newer and clang based on LLVM
# 3.0svn and newer. The clang restriction could probably be tighter;
-# clang-77 is Apple Clang 1.7 (LLVM 2.9svn), included with Xcode 3.2.6.
+# clang-77 is Apple Clang 1.7 (LLVM 2.9svn) from Xcode 3.2.6.
compiler.blacklist gcc-3.3 gcc-4.0 gcc-4.2 \
apple-gcc-4.0 apple-gcc-4.2 \
llvm-gcc-4.2 macports-llvm-gcc-4.2 \
@@ -124,13 +124,13 @@
${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
- }
- }
+ # Remove zero-byte libraries until
+ # https://github.com/mozilla/rust/issues/4468 is resolved, possibly
+ # in the 0.6 release.
+ delete ${destroot}${prefix}/lib/libcargo.dylib
+ delete ${destroot}${prefix}/lib/librustc.dylib
+ delete ${destroot}${prefix}/lib/librustdoc.dylib
+ delete ${destroot}${prefix}/lib/librusti.dylib
}
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130312/7233cd7a/attachment.html>
More information about the macports-changes
mailing list