[MacPorts] #58779: base: ports cannot use SDK inside of Developer dir unless using Xcode build type
MacPorts
noreply at macports.org
Fri Aug 2 11:20:20 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 neverpanic):
FWIW, I just did a trace mode build of py37-pyqt5 on 10.12 with Xcode 9.2
and the CLTs installed with the following patch applied to the qt5-qtbase
Portfile, and it passed:
{{{
#!patch
diff --git a/aqua/qt5/Portfile b/aqua/qt5/Portfile
index 9932141afbf..6f324de1b22 100644
--- a/aqua/qt5/Portfile
+++ b/aqua/qt5/Portfile
@@ -987,6 +987,9 @@ foreach {module module_info} [array get modules] {
if { ![file exists
${sdks_dir}/MacOSX${configure.sdk_version}.sdk] } {
configure.sdk_version
}
+ if {${developer_dir} ne ${configure.developer_dir} &&
![file exists
${configure.developer_dir}/SDKs/MacOSX${configure.sdk_version}.sdk]} {
+ configure.sdk_version
+ }
}
# respect configure.sdk_version
}}}
If that doesn't work on 10.9, we should fix what's wrong there, but in
general, our approach seems to work.
--
Ticket URL: <https://trac.macports.org/ticket/58779#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list