Hey,

A while back Clemens implemented a feature that allows to query the list of 
patchfiles:

port info --patchfiles foo

that apparently works via a hardcoded list of known/supported variables. I 
*think* that Tcl allows to query arbitrary variables in this way, so that for 
instance one could do

port info --configure.args foo

or any of the variables that control fetch/configure/build/etc behaviour 
without having to modify base for each.
This would be very convenient during port development when adding "ui_msg" 
statements to the Portfile to check variables could lead to accidental removal 
of a whole work directory (that might contain unsaved changes).

My Tcl-fu isn't yet back to the level where I could assess how feasible this 
would be; is it?

R.
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to