[104169] trunk/dports/lang/rust/Portfile
larryv at macports.org
larryv at macports.org
Mon Mar 18 21:50:02 PDT 2013
Revision: 104169
https://trac.macports.org/changeset/104169
Author: larryv at macports.org
Date: 2013-03-18 21:50:02 -0700 (Mon, 18 Mar 2013)
Log Message:
-----------
rust: Restrict to OS X 10.6+ because that's what upstream supports (#38286).
Modified Paths:
--------------
trunk/dports/lang/rust/Portfile
Modified: trunk/dports/lang/rust/Portfile
===================================================================
--- trunk/dports/lang/rust/Portfile 2013-03-19 04:16:13 UTC (rev 104168)
+++ trunk/dports/lang/rust/Portfile 2013-03-19 04:50:02 UTC (rev 104169)
@@ -50,6 +50,13 @@
set stage0(distdir) rust-stage0
+pre-fetch {
+ if {${os.platform} == "darwin" && ${os.major} < 10} {
+ ui_error "${name} is only supported on OS X 10.6 Snow Leopard or later."
+ return -code error "unsupported platform version"
+ }
+}
+
master_sites http://dl.rust-lang.org/dist:dist \
http://static.rust-lang.org/stage0-snapshots:stage0
distfiles ${distname}${extract.suffix}:dist \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130318/790f1f26/attachment-0001.html>
More information about the macports-changes
mailing list