[146155] trunk/dports/_resources/port1.0/group/wxWidgets-1.0.tcl

mojca at macports.org mojca at macports.org
Tue Mar 1 04:39:48 PST 2016


Revision: 146155
          https://trac.macports.org/changeset/146155
Author:   mojca at macports.org
Date:     2016-03-01 04:39:48 -0800 (Tue, 01 Mar 2016)
Log Message:
-----------
wxWidgets-1.0.tcl: remove wxPerl and change order in if-else (cosmetic change)

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/wxWidgets-1.0.tcl

Modified: trunk/dports/_resources/port1.0/group/wxWidgets-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/wxWidgets-1.0.tcl	2016-03-01 12:20:29 UTC (rev 146154)
+++ trunk/dports/_resources/port1.0/group/wxWidgets-1.0.tcl	2016-03-01 12:39:48 UTC (rev 146155)
@@ -99,32 +99,27 @@
                 return -code error "incompatible Mac OS X version"
             }
         }
-    # ugly workaround to allow some C++11-only applications to be built on < 10.9
-    } elseif {${args} eq "wxWidgets-3.0-libcxx"} {
-        wxWidgets.name      "wxWidgets"
-        wxWidgets.version   "3.0-libcxx"
-        wxWidgets.port      "wxWidgets-3.0-libcxx"
+    } elseif {${args} eq "wxPython-3.0"} {
+        wxWidgets.name      "wxPython"
+        wxWidgets.version   "3.0"
+        wxWidgets.port      "wxPython-3.0"
         if {${os.major} < 9} {
             pre-fetch {
                 ui_error "${wxWidgets.port} requires Mac OS X 10.5 or later."
                 return -code error "incompatible Mac OS X version"
             }
         }
-    } elseif {${args} eq "wxPython-3.0"} {
-        wxWidgets.name      "wxPython"
-        wxWidgets.version   "3.0"
-        wxWidgets.port      "wxPython-3.0"
+    # ugly workaround to allow some C++11-only applications to be built on < 10.9
+    } elseif {${args} eq "wxWidgets-3.0-libcxx"} {
+        wxWidgets.name      "wxWidgets"
+        wxWidgets.version   "3.0-libcxx"
+        wxWidgets.port      "wxWidgets-3.0-libcxx"
         if {${os.major} < 9} {
             pre-fetch {
                 ui_error "${wxWidgets.port} requires Mac OS X 10.5 or later."
                 return -code error "incompatible Mac OS X version"
             }
         }
-    # support for wxPerl was just temporary
-    } elseif {${args} eq "wxPerl-3.0"} {
-        # throw an error
-        ui_error "You shouldn't be using 'wxWidgets.use wxPerl-3.0' any longer. Switch to wxWidgets-3.0."
-        return -code error "invalid parameter for wxWidgets.use"
     # preliminary support for wxWidgets 3.1/3.2
     } elseif {${args} eq "wxWidgets-3.2"} {
         wxWidgets.name      "wxWidgets"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160301/b808399f/attachment-0001.html>


More information about the macports-changes mailing list