[MacPorts] #61736: qt5 clears configure.sdkroot which causes erroneous "SDK does not appear to be installed" warning

MacPorts noreply at macports.org
Sat Dec 5 19:26:49 UTC 2020


#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 cbitterfield):

 **Solution:**

 Edit /etc/sudoers file on line 24 (add this line)
 {{{
 Defaults        env_keep += "SYSTEM_VERSION_COMPAT"
 }}}


 Edit /opt/local/etc/macports/macports.conf Line 168 (add this line)

 {{{

 extra_env       SYSTEM_VERSION_COMPAT
 }}}


 Edit your local profile (.profile, .bashrc, etc)

 and the following environment variable setting (export as proper for your
 shell)


 {{{
 SYSTEM_VERSION_COMPAT=0
 export SYSTEM_VERSION_COMPAT
 }}}


 ----

 ''This sets the whole system to respond as OSX 11.0, setting
 SYSTEM_VERSION_COMPAT=1 will change it to OSX 10.16''

-- 
Ticket URL: <https://trac.macports.org/ticket/61736#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list