MacPorts 1.6 still supports OS X 10.3 Panther?

Kevin Ballard eridius at macports.org
Sun Jan 6 14:39:11 PST 2008


That's rather interesting. The missing command name has changed.

Looking a second time, ui_prefix is actually done the same way as  
ui_channels, with an if-else statement. It's actually just a  about 10  
lines after the ui_channels block. I'm going to make the same change  
there and see if that helps. Here's the diff:

Index: src/macports1.0/macports.tcl
===================================================================
--- src/macports1.0/macports.tcl	(revision 32524)
+++ src/macports1.0/macports.tcl	(revision 32525)
@@ -111,9 +111,9 @@
      if {$nbchans == 0} {
          proc ::ui_$priority {str} {}
      } else {
-        if {[llength [info commands ui_prefix]] > 0} {
+        try {
              set prefix [ui_prefix $priority]
-        } else {
+        } catch * {
              set prefix [ui_prefix_default $priority]
          }



On Jan 6, 2008, at 10:37 AM, Chris Janton wrote:

> invalid command name "ui_prefix"

-- 
Kevin Ballard
http://kevin.sb.org
eridius at macports.org
http://www.tildesoft.com




More information about the macports-users mailing list