[MacPorts] #58779: base: ports cannot use SDK inside of Developer dir unless using Xcode build type
MacPorts
noreply at macports.org
Wed Jul 31 22:59:29 UTC 2019
#58779: base: ports cannot use SDK inside of Developer dir unless using Xcode build
type
---------------------+-----------------------
Reporter: Ionic | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.5.99
Resolution: | Keywords: tracemode
Port: |
---------------------+-----------------------
Comment (by jmroot):
Replying to [comment:2 Ionic]:
> [6b27854906b3c19d209c50ff59a4fa78d42f3a03/macports-base] only set
`use_xcode` to `true` if CLTs are not installed, but that's not relevant
in this case.
If you install both Xcode and the CLT then you won't have
/Library/Developer/CommandLineTools/usr/bin/make, or at least I don't. If
there is a case where that exists but the SDK inside Xcode is still used,
that would be a problem.
> Arguably, I guess we could tell qmake to use `/` as the SDK root if
`configure.sdkroot` turns out to be empty... but do we really want this?
That would match what is done elsewhere. Using the headers in /usr/include
is safer than using the SDK in Xcode because the latter could be for a
newer OS version, which causes problems with build-time detection of
features.
--
Ticket URL: <https://trac.macports.org/ticket/58779#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list