[120635] trunk/dports/lang/apple-gcc42/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Tue Jun 3 19:56:57 PDT 2014


Revision: 120635
          https://trac.macports.org/changeset/120635
Author:   jeremyhu at macports.org
Date:     2014-06-03 19:56:57 -0700 (Tue, 03 Jun 2014)
Log Message:
-----------
apple-gcc42: Don't support Yosemite

Modified Paths:
--------------
    trunk/dports/lang/apple-gcc42/Portfile

Modified: trunk/dports/lang/apple-gcc42/Portfile
===================================================================
--- trunk/dports/lang/apple-gcc42/Portfile	2014-06-04 02:56:01 UTC (rev 120634)
+++ trunk/dports/lang/apple-gcc42/Portfile	2014-06-04 02:56:57 UTC (rev 120635)
@@ -73,6 +73,17 @@
 
 depends_run             port:gcc_select
 
+platform darwin {
+    if {${os.major} >= 14} {
+        depends_lib
+        depends_run
+        pre-fetch {
+            ui_error "$name is not supported on Yosemite or later."
+            error "unsupported platform"
+        }
+    }
+}
+
 use_configure no
 variant universal {}
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140603/1c346688/attachment.html>


More information about the macports-changes mailing list