[MacPorts] #58779: base: ports cannot use SDK inside of Developer dir unless using Xcode build type
MacPorts
noreply at macports.org
Mon Aug 5 14:50:30 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 satraul):
My bad, I've confused the two. I submitted it because it built qt5-qtbase
successfully. But let me get this straight first before submitting a fix..
so this line
{{{
if { ![file exists
${sdks_dir}/MacOSX${configure.sdk_version}.sdk] } {
configure.sdk_version
}
}}}
Clears `configure.sdk_version`? What is the purpose of this? In my
understanding, it's checking to see if current version's SDK doesn't exist
and if so "clear" it (which I assume is so qt can find the SDK by itself).
In Clemens' patch, to avoid running (clearing) `configure.sdk_version`:
1. Current version's SDK must be in Xcode's folder
2. If MacPorts is using CLT as Developer_Dir, current version's SDK must
be in CLT folder
Why should we have both conditions met? Please correct my understanding.
--
Ticket URL: <https://trac.macports.org/ticket/58779#comment:15>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list