[MacPorts] #55404: mpv @0.26.0: You manually enabled the feature 'cocoa', but the autodetection check failed
MacPorts
noreply at macports.org
Thu Nov 30 06:18:29 UTC 2017
#55404: mpv @0.26.0: You manually enabled the feature 'cocoa', but the
autodetection check failed
----------------------+--------------------
Reporter: mrkapqa | Owner: Ionic
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.4.2
Resolution: fixed | Keywords: lion
Port: mpv |
----------------------+--------------------
Comment (by ryandesign):
Replying to [comment:4 Ionic]:
> Are you positive that this is a good idea?
>
> Compiling against a newer SDK version might work for the build itself,
but the resulting binaries may not work correctly or at all on an older
platform?
That's not accurate. Using the latest available SDK is the current best
practice recommended by Apple, as evidenced by the fact that for the past
several years the last version of Xcode for a particular version of macOS
doesn't even contain an SDK version that matches that OS. For example,
Xcode 7 is compatible with OS X 10.10 but only contains the 10.11 SDK.
We do this in other ports as well. In the mongodb port we force the use of
the 10.8 SDK on 10.7. In the libsdl2 port we force the use of the 10.7 SDK
on 10.6.
Using a newer SDK has no effect on what versions of macOS the resulting
binary can run on. That's controlled separately, by the
`MACOSX_DEPLOYMENT_TARGET` environment variable which MacPorts sets for
you.
> Besides, `libarclite` from the 10.7 SDK should provide subscripting on
OS X 10.7 (for `x86_64` only).
I have no information on this topic.
--
Ticket URL: <https://trac.macports.org/ticket/55404#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list