Various on qt4-mac

Ryan Schmidt ryandesign at macports.org
Sat Jun 26 10:48:35 PDT 2010


On Jun 26, 2010, at 12:34, Michael Dickens wrote:

> post-activate {
>    # If this is the first qt4-* installed, select it.
>    set current_select [exec ${prefix}/bin/qt4_select -s]
>    if {${current_select} == "none"} {
>        system "${prefix}/bin/qt4_select ${name}"
>    } else {
>        if {${current_select} != ${name}} {
>            # Print out the 'select' info.
>            notes "\
> Port ${current_select} is already selected.\n \
> To fully complete this installation and make ${name} the default,\n \
> please run:\n \
> \tsudo qt4_select ${name}"
>        }
>    }
> }
> 
> But the "notes" don't seem to print out.  Is this an incorrect usage of
> 'notes'?  Should I be doing the printout in some other way.  I'd like
> the printout to happen no matter the state of debugging, but only as a
> conditional (as above).  Thanks! - MLD

Yes, that's not a good way to use notes. Just use ui_msg.




More information about the macports-dev mailing list