Revision
100323
Author
jwa@macports.org
Date
2012-12-08 00:11:15 -0800 (Sat, 08 Dec 2012)

Log Message

wxWidgets: make this to return an error on 10.8

Modified Paths

Diff

Modified: trunk/dports/graphics/wxWidgets/Portfile (100322 => 100323)


--- trunk/dports/graphics/wxWidgets/Portfile	2012-12-08 07:10:02 UTC (rev 100322)
+++ trunk/dports/graphics/wxWidgets/Portfile	2012-12-08 08:11:15 UTC (rev 100323)
@@ -110,6 +110,12 @@
     }
 }
 
+platform darwin 12 {
+    pre-fetch {
+        return -code return "${name} does not build on 10.8 due to missing Carbon support, please use port ${name}30 instead"
+    }
+}
+
 post-build {
     foreach c { ${contrib} } {
         system "cd ${build.dir} && make -C contrib/src/${c}"