<div dir="ltr">Hi everyone,<div><br></div><div>A conversation in one of my PRs has brought up an interesting question that I've been wondering about for a long time. In Portfiles, whenever I've had a test for `<font face="monospace">${os.major} <= xx</font>`, I've typically always added an additional check for <font face="monospace">darwin</font> in the front, i.e.:</div><div><br></div><font face="monospace">if {${os.platform} eq "darwin" && ${os.major} <= xx} {</font><div><br></div><div>I've done it that way because I basically copied what I saw from other Portfiles, and because I get gently admonished by the committers when I forget to. But I've also always wondered why it's necessary. I was under the impression that the `<font face="monospace">platforms darwin</font>` line means that the entire Portfile is supposed to be valid only for `<font face="monospace">${os.platform} eq "darwin"</font>`, no? (In other words, my understanding is that a line such as `<font face="monospace">platforms darwin freebsd openbsd</font>` is meant to signify that "this Portfile is supposed to be valid for the listed platforms".) If that's not the case, then what is the purpose of `<font face="monospace">platforms darwin</font>`?</div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>-- </div><div>Jason Liu</div></div></div></div></div></div>