MacPorts 1.6 still supports OS X 10.3 Panther?

Ryan Schmidt ryandesign at macports.org
Sun Jan 6 14:56:17 PST 2008


On Jan 6, 2008, at 16:39, Kevin Ballard wrote:

> On Jan 6, 2008, at 10:37 AM, Chris Janton wrote:
>
>> invalid command name "ui_prefix"
>
> That's rather interesting. The missing command name has changed.

Whoops! You're right. I totally didn't pay attention there.

> 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]
>          }




More information about the macports-users mailing list