[100163] trunk/dports/editors/textmate2/Portfile

jmr at macports.org jmr at macports.org
Fri Nov 30 22:28:35 PST 2012


Revision: 100163
          https://trac.macports.org/changeset/100163
Author:   jmr at 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:
--------------
    trunk/dports/editors/textmate2/Portfile

Modified: trunk/dports/editors/textmate2/Portfile
===================================================================
--- 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
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121130/47bb6700/attachment.html>


More information about the macports-changes mailing list