platform
Clemens Lang
cal at macports.org
Wed Oct 28 15:25:15 PDT 2015
----- On 28 Oct, 2015, at 22:40, Sterling Smith smithsp at fusion.gat.com wrote:
> Is platforms required?
Yes, it is a required variable.
> It seems like there is some ambiguity. Should I put macosx, because I have
> tried it there? Or should I put all platforms and then when someone reports
> that it broke on their system, I can indicate all other systems where it
> hasn’t yet broken?
Just list "darwin". It has become the de-facto default.
The idea behind this variable was to support multiple target platforms, but
while we keep MacPorts base running on Linux for server-side tasks, almost none
of the ports work there and it is completely unsupported. Additionally,
puredarwin is dead, so there's not point in considering it either.
We often use a platform darwin {} block when adding conditional code depending
on a version of OS X, but that's mostly to keep our Linux servers happy when
they are generating the PortIndex.
--
Clemens Lang
More information about the macports-dev
mailing list