<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>Yeah, but that's the thing, I'm getting it on ports that don't have a platforms line at all, and it shows up in CI.<br></div><div><br></div><div>Thanks,<br></div><div>Mark<br></div><div><br></div><div>On Fri, Sep 20, 2024, at 2:19 PM, Keto wrote:<br></div><blockquote type="cite" id="qt" style=""><div dir="ltr"><div>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`).<br></div><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.<br></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><br></div></div><div><br></div><div class="qt-gmail_quote"><div dir="ltr" class="qt-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="qt-gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204, 204, 204);padding-left:1ex;"><div class="qt-msg-4331115868142699117"><div><u></u><br></div><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-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-top-color:rgb(204, 204, 204);border-right-color:rgb(204, 204, 204);border-bottom-color:rgb(204, 204, 204);border-left-color:rgb(204, 204, 204);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-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-top:7px;margin-right:0px;margin-bottom:7px;margin-left:0px;padding-top:7px;padding-right:10px;padding-bottom:7px;padding-left: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></blockquote><div><br></div></body></html>