platform{} statement

Rainer Müller raimue at macports.org
Tue May 31 03:28:23 PDT 2016


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


More information about the macports-dev mailing list