[MacPorts] #70997: Warning: Unnecessary platforms line as darwin is the default

MacPorts noreply at macports.org
Mon Sep 30 12:55:18 UTC 2024


#70997: Warning: Unnecessary platforms line as darwin is the default
-------------------------+--------------------
  Reporter:  ryandesign  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  base        |    Version:  2.10.1
Resolution:              |   Keywords:
      Port:              |
-------------------------+--------------------
Changes (by jmroot):

 * cc: pguyot (added)


Comment:

 The warning is triggered if there is a `platforms` line anywhere in the
 Portfile, and the `platforms` option is set to `darwin` after the Portfile
 has been executed. This is a false positive in the case that some subports
 set `platforms` but to some other value, and other subports leave it at
 the default value.

-- 
Ticket URL: <https://trac.macports.org/ticket/70997#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list