[102366] trunk/dports/www/webkit-gtk/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Thu Jan 31 22:41:25 PST 2013


Revision: 102366
          https://trac.macports.org/changeset/102366
Author:   jeremyhu at macports.org
Date:     2013-01-31 22:41:25 -0800 (Thu, 31 Jan 2013)
Log Message:
-----------
webkit-gtk: Also set __MAC_OS_X_VERSION_MAX_ALLOWED for Tiger, since it's not provided by Availability.h

Modified Paths:
--------------
    trunk/dports/www/webkit-gtk/Portfile

Modified: trunk/dports/www/webkit-gtk/Portfile
===================================================================
--- trunk/dports/www/webkit-gtk/Portfile	2013-02-01 06:38:19 UTC (rev 102365)
+++ trunk/dports/www/webkit-gtk/Portfile	2013-02-01 06:41:25 UTC (rev 102366)
@@ -250,6 +250,13 @@
         configure.cppflags-append -D__MAC_OS_X_VERSION_MAX_ALLOWED=1050
     }
 
+    if {[string match "*10.4*" ${configure.sdkroot}] || 
+        (${os.major} == 8 && ${configure.sdkroot} == "")} {
+
+        # https://trac.macports.org/ticket/37828
+        configure.cppflags-append -D__MAC_OS_X_VERSION_MAX_ALLOWED=1040
+    }
+
     if {$macosx_deployment_target == "10.4" ||
         (${os.major} == 8 && $macosx_deployment_target == "")} {
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130131/d48cbfc0/attachment.html>


More information about the macports-changes mailing list