multiple platform statements

Adam Mercer ram at macports.org
Sat Aug 29 15:09:37 PDT 2009


On Sat, Aug 29, 2009 at 16:05, Bryan Blackburn<blb at macports.org> wrote:

> Or something similar, tailored to your needs.  Though we may want to still
> vaguely seem to support non-darwin, in which case you need to also check
> os.platform:
>
> if {${os.platform} == "darwin" && ${os.major} < 10} ...

Thanks Bryan, that's perfect. I'll need to remember that trick.

Cheers

Adam


More information about the macports-users mailing list