[51570] trunk/base/src/port1.0/portutil.tcl
raimue at macports.org
raimue at macports.org
Wed May 27 17:09:46 PDT 2009
Revision: 51570
http://trac.macports.org/changeset/51570
Author: raimue at macports.org
Date: 2009-05-27 17:09:46 -0700 (Wed, 27 May 2009)
Log Message:
-----------
port1.0/portutil.tcl:
Register deprecated options as usual, so they can still be used in Portfiles
for compatibility.
Modified Paths:
--------------
trunk/base/src/port1.0/portutil.tcl
Modified: trunk/base/src/port1.0/portutil.tcl
===================================================================
--- trunk/base/src/port1.0/portutil.tcl 2009-05-27 23:55:37 UTC (rev 51569)
+++ trunk/base/src/port1.0/portutil.tcl 2009-05-28 00:09:46 UTC (rev 51570)
@@ -235,6 +235,8 @@
global deprecated_options
# If a new option is specified, default the option to $newoption
set deprecated_options($option) [list $newoption 0]
+ # Create a normal option for compatibility
+ options $option
# Register a proc for handling the deprecation
option_proc $option handle_deprecated_option
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090527/f327ad59/attachment.html>
More information about the macports-changes
mailing list