<div dir="ltr">When I submitted a port a few months ago, I was told that `platforms darwin` is implicit in MacPorts now [1], so newer ports shouldn't include the field unless the port doesn't build on certain macOS versions (e.g, a port that doesn't build on anything lower than macOS Catalina, `darwin >= 19`).<div><br></div><div>Older ports might still have this field, hence the warning. I think it's trivial put that's where the warning comes from.</div><div><br></div><div>[1]: <a href="https://github.com/macports/macports-ports/pull/20062#issuecomment-1700057721">https://github.com/macports/macports-ports/pull/20062#issuecomment-1700057721</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 20, 2024 at 2:07 PM Mark E Anderson <<a href="mailto:mark@macports.org">mark@macports.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div class="msg-4331115868142699117"><u></u><div><div>I've been getting this error, in files that don't have a platform line. I assume this error is in a port group? My question is, is it the lint that's wrong or the portgroups?<br></div><div><br></div><pre style="border-width:1px;border-style:solid;border-color:rgb(204,204,204);border-radius:3px;background-color:rgb(246,246,246);background-repeat:repeat;background-image:none;background-size:auto;background-origin:padding-box;background-clip:border-box;font-family:menlo,consolas,monospace;font-size:90%;margin:7px 0px;padding:7px 10px">Warning: Unnecessary platforms line as darwin is the default<br></pre><div><br></div><div>Thanks,<br></div><div>Mark<br></div></div></div></blockquote></div>