[MacPorts] #61736: qt5 clears configure.sdkroot which causes erroneous "SDK does not appear to be installed" warning
MacPorts
noreply at macports.org
Wed Sep 14 23:24:34 UTC 2022
#61736: qt5 clears configure.sdkroot which causes erroneous "SDK does not appear to
be installed" warning
---------------------------+---------------------------------
Reporter: cbitterfield | Owner: MarcusCalhoun-Lopez
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords:
Port: qt5 |
---------------------------+---------------------------------
Comment (by breiter):
Despite the warnings in the Portfile, I found a simple solution was to set
{{{configure.sdk_version 12.3}}}. I'm sure this isn't the correct solution
but it doesn't require hacking Xcode.
{{{
# do not use ${configure.sdk_version}
# SDK is recorded in ${qt_mkspecs_dir}/qdevice.pri
# SDK may then be removed if Xcode is updated
# see https://trac.macports.org/ticket/54044
# see https://trac.macports.org/ticket/55195
configure.args-append \
-sdk macosx
configure.sdk_version 12.3
}}}
--
Ticket URL: <https://trac.macports.org/ticket/61736#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list