[100162] trunk/dports/editors/textmate2

jmr at macports.org jmr at macports.org
Fri Nov 30 22:01:24 PST 2012


Revision: 100162
          https://trac.macports.org/changeset/100162
Author:   jmr at macports.org
Date:     2012-11-30 22:01:24 -0800 (Fri, 30 Nov 2012)
Log Message:
-----------
textmate2: use configured macosx_deployment_target

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

Added Paths:
-----------
    trunk/dports/editors/textmate2/files/patch-configure-mdt.diff

Modified: trunk/dports/editors/textmate2/Portfile
===================================================================
--- trunk/dports/editors/textmate2/Portfile	2012-11-30 23:24:08 UTC (rev 100161)
+++ trunk/dports/editors/textmate2/Portfile	2012-12-01 06:01:24 UTC (rev 100162)
@@ -37,10 +37,12 @@
 }
 
 patchfiles              patch-configure-versionnumber.diff \
-                        patch-create_default_bundles_tbz-verbose.diff
+                        patch-create_default_bundles_tbz-verbose.diff \
+                        patch-configure-mdt.diff
 
 post-patch {
     reinplace "s/@REVISION@/${github.version}/" ${worksrcpath}/configure
+    reinplace "s/__MACOSX_DEPLOYMENT_TARGET__/${macosx_deployment_target}/" ${worksrcpath}/configure
     fs-traverse file ${worksrcpath} {
         if {[file tail ${file}] == "target"} {
             reinplace "/TEST_SOURCES =/d" ${file}

Added: trunk/dports/editors/textmate2/files/patch-configure-mdt.diff
===================================================================
--- trunk/dports/editors/textmate2/files/patch-configure-mdt.diff	                        (rev 0)
+++ trunk/dports/editors/textmate2/files/patch-configure-mdt.diff	2012-12-01 06:01:24 UTC (rev 100162)
@@ -0,0 +1,11 @@
+--- configure.orig	2012-12-01 16:55:18.000000000 +1100
++++ configure	2012-12-01 16:54:47.000000000 +1100
+@@ -17,7 +17,7 @@
+ name=TextMate
+ ver=2.0.0-alpha.\$APP_REVISION${tag:-+git.$(git rev-parse --short HEAD)}
+ rev=@REVISION@
+-min_os=10.7
++min_os=__MACOSX_DEPLOYMENT_TARGET__
+ 
+ # ===============================================
+ # = Find clang via xcrun, MacPorts, or Homebrew =
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121130/4620ce48/attachment-0001.html>


More information about the macports-changes mailing list