At the core, portfiles are TCL scripts. And excluding anything except ui_msg, any called procedure except ui_msg would be to transformed into a no-op. This can't be done at runtime, and we can't possibly write a list of those procedures. So your idea is unrealisable.
Le 9 janv. 2010 à 03:29, Bradley Giesbrecht a écrit : > > On Jan 8, 2010, at 5:02 PM, Ryan Schmidt wrote: > >> >> On Jan 8, 2010, at 18:20, Bradley Giesbrecht wrote: >> >>> Since nothing I have installed has any notes in the portfile but many of >>> them have ui_msg could we possibly add a flag or another command to print >>> the ui_msg as well? >>> >>> port notes apache2 :ui_msg >> >> Which ui_msgs? As explained, ui_msg can appear anywhere in a portfile, >> inside if clauses, inside phases, inside variants, etc. > > All the ui_msgs excluding non-selected variants. > >> I would rather ports be modified to start using the notes feature. > > > Haven't you ever installed a port with -v that had deps, sometimes a lot of > them, and wonder if there were any ui_msg for the deps that were important? > > I find many things more fun then searching through miles of scroll buffer. > > > // Brad > _______________________________________________ > macports-dev mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev _______________________________________________ macports-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
