Revision
120635
Author
jeremyhu@macports.org
Date
2014-06-03 19:56:57 -0700 (Tue, 03 Jun 2014)

Log Message

apple-gcc42: Don't support Yosemite

Modified Paths

Diff

Modified: trunk/dports/lang/apple-gcc42/Portfile (120634 => 120635)


--- 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 {}