[109334] users/mojca/wxports/_resources/port1.0/group/wxwidgets-1.0.tcl
mojca at macports.org
mojca at macports.org
Tue Aug 13 08:49:19 PDT 2013
Revision: 109334
https://trac.macports.org/changeset/109334
Author: mojca at macports.org
Date: 2013-08-13 08:49:19 -0700 (Tue, 13 Aug 2013)
Log Message:
-----------
mojca/wxwidgets: define sdk to be empty by default, throw an error on invalid parameter
Modified Paths:
--------------
users/mojca/wxports/_resources/port1.0/group/wxwidgets-1.0.tcl
Modified: users/mojca/wxports/_resources/port1.0/group/wxwidgets-1.0.tcl
===================================================================
--- users/mojca/wxports/_resources/port1.0/group/wxwidgets-1.0.tcl 2013-08-13 15:01:18 UTC (rev 109333)
+++ users/mojca/wxports/_resources/port1.0/group/wxwidgets-1.0.tcl 2013-08-13 15:49:19 UTC (rev 109334)
@@ -44,6 +44,8 @@
if {"set" != ${action}} {
return
}
+ wxWidgets.sdk ""
+ wxWidgets.macosx_version_min ""
if {${args} == "wxWidgets-2.8"} {
wxWidgets.name "wxWidgets"
@@ -96,6 +98,8 @@
}
} else {
# throw an error
+ ui_error "invalid parameter for wxWidgets.use; use one of: wxWidgets-2.8/wxGTK-2.8/wxWidgets-3.0/wxPython-3.0"
+ return -code return "invalid parameter for wxWidgets.use"
}
wxWidgets.prefix ${frameworks_dir}/wxWidgets.framework/Versions/${wxWidgets.name}/${wxWidgets.trueversion}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130813/d253ebdb/attachment.html>
More information about the macports-changes
mailing list