[116066] trunk/dports/python/py-wxpython-2.8/Portfile

mojca at macports.org mojca at macports.org
Fri Jan 17 01:32:02 PST 2014


Revision: 116066
          https://trac.macports.org/changeset/116066
Author:   mojca at macports.org
Date:     2014-01-17 01:32:02 -0800 (Fri, 17 Jan 2014)
Log Message:
-----------
py-wxpython-2.8: make +gtk default variant also on <= 10.6

Modified Paths:
--------------
    trunk/dports/python/py-wxpython-2.8/Portfile

Modified: trunk/dports/python/py-wxpython-2.8/Portfile
===================================================================
--- trunk/dports/python/py-wxpython-2.8/Portfile	2014-01-17 09:15:56 UTC (rev 116065)
+++ trunk/dports/python/py-wxpython-2.8/Portfile	2014-01-17 09:32:02 UTC (rev 116066)
@@ -91,13 +91,9 @@
     }
 
     if {![variant_isset carbon] && ![variant_isset gtk]} {
-        # gtk will be the default variant on >= 10.7, carbon on <= 10.6
-        # (using +carbon is possible on 10.7 with an old Xcode version)
-        if {${os.major} >= 11} {
-            default_variants-append +gtk
-        } else {
-            default_variants-append +carbon
-        }
+        # gtk will be the default variant
+        # using +carbon is possible on <= 10.6 (or 10.7 with an old Xcode version)
+        default_variants-append +gtk
     }
 
     livecheck.type  none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140117/7ae15fa9/attachment-0001.html>


More information about the macports-changes mailing list