On 2016-05-31 10:24, René J.V. Bertin wrote: > Would it be hard (and potentially acceptable) to extend the syntax to > > platform ... { > } else { > } > > of something of the sort? That seems like it might require patching the Tcl > source code.
The definition of the platform proc is here: https://trac.macports.org/browser/trunk/base/src/port1.0/portutil.tcl?rev=149111#L765 Extending that syntax with an optional code block after an "else" keyword would be possible. Rainer _______________________________________________ macports-dev mailing list macports-dev@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-dev