[MacPorts] #63139: Prefer MacOSX11.sdk if available else prefer newest MacOSX11.*.sdk

MacPorts noreply at macports.org
Fri Jun 25 23:41:34 UTC 2021


#63139: Prefer MacOSX11.sdk if available else prefer newest MacOSX11.*.sdk
-------------------------+--------------------
 Reporter:  ryandesign   |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  base         |    Version:  2.7.1
 Keywords:  bigsur       |       Port:
-------------------------+--------------------
 On macOS 11 (12, etc.), MacPorts should pick the MacOSX11.sdk
 (MacOSX12.sdk, etc.) symlink if it exists (which it does in Xcode 12.5 and
 later) rather than a more specific SDK version that might disappear in a
 future Xcode update (such as MacOSX11.3.sdk).

 If the major version SDK symlink does not exist, then we should pick the
 newest version number SDK that exists and passes the sanity check (i.e. if
 MacOSX11.0.sdk and MacOSX11.1.sdk exist, it should prefer the 11.1 SDK) as
 I mentioned in comment:ticket:61866:16.

-- 
Ticket URL: <https://trac.macports.org/ticket/63139>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list