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

cal at macports.org cal at macports.org
Thu Aug 30 01:13:18 PDT 2012


Revision: 97206
          https://trac.macports.org/changeset/97206
Author:   cal at macports.org
Date:     2012-08-30 01:13:17 -0700 (Thu, 30 Aug 2012)
Log Message:
-----------
textmate2: update to r9292, add pre-fetch block failing on < 10.7, force sdk to 10.8 because otherwise the build breaks

Revision Links:
--------------
    https://trac.macports.org/changeset/9292

Modified Paths:
--------------
    trunk/dports/editors/textmate2/Portfile

Modified: trunk/dports/editors/textmate2/Portfile
===================================================================
--- trunk/dports/editors/textmate2/Portfile	2012-08-30 08:03:03 UTC (rev 97205)
+++ trunk/dports/editors/textmate2/Portfile	2012-08-30 08:13:17 UTC (rev 97206)
@@ -4,7 +4,7 @@
 PortSystem              1.0
 PortGroup               github 1.0
 
-github.setup            textmate textmate 9290 r
+github.setup            textmate textmate 9292 r
 epoch                   1
 version                 2.0.${github.version}
 
@@ -23,6 +23,12 @@
 platforms               darwin
 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"
@@ -58,7 +64,8 @@
                         port:libiconv \
                         port:zlib
 
-configure.env-append    builddir=${worksrcpath}/build
+configure.env-append    builddir=${worksrcpath}/build \
+                        sdk=MacOSX10.8
 
 build.cmd               ninja
 build.target            TextMate mate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120830/840d0f4d/attachment.html>


More information about the macports-changes mailing list