Revision
100163
Author
jmr@macports.org
Date
2012-11-30 22:28:35 -0800 (Fri, 30 Nov 2012)

Log Message

textmate2: fail on 10.8 as a temporary workaround to avoid hanging the buildbot (real solution still needed), and clear deps on unsupported platforms

Modified Paths

Diff

Modified: trunk/dports/editors/textmate2/Portfile (100162 => 100163)


--- trunk/dports/editors/textmate2/Portfile	2012-12-01 06:01:24 UTC (rev 100162)
+++ trunk/dports/editors/textmate2/Portfile	2012-12-01 06:28:35 UTC (rev 100163)
@@ -25,12 +25,6 @@
 supported_archs         x86_64
 license                 GPL-3+
 
-pre-fetch {
-    if {${os.platform} == "darwin" && ${os.major} < 11} {
-        ui_error "${name} only works with Mac OS X 10.7 Lion or later."
-        return -code error "incompatible Mac OS X version"
-    }
-}
 fetch.type              git
 post-fetch {
     system -W ${worksrcpath} "git submodule update --init"
@@ -65,6 +59,16 @@
                         port:libiconv \
                         port:zlib
 
+if {${os.platform} != "darwin" || ${os.major} != 11} {
+    depends_fetch
+    depends_build
+    depends_lib
+    pre-fetch {
+        ui_error "${name} only works with Mac OS X 10.7 Lion or later."
+        return -code error "incompatible Mac OS X version"
+    }
+}
+
 configure.env-append    builddir=${worksrcpath}/build \
                         tag=-macports