[MacPorts] #58322: qt5 portgroup picks incompatible version of qt for Mac OS X 10.6 and earlier

MacPorts noreply at macports.org
Wed Apr 10 05:19:15 UTC 2019


#58322: qt5 portgroup picks incompatible version of qt for Mac OS X 10.6 and
earlier
---------------------------------------+---------------------------------
 Reporter:  ryandesign                 |      Owner:  MarcusCalhoun-Lopez
     Type:  defect                     |     Status:  assigned
 Priority:  Normal                     |  Milestone:
Component:  ports                      |    Version:
 Keywords:  tiger leopard snowleopard  |       Port:  qt5
---------------------------------------+---------------------------------
 [browser:macports-ports/_resources/port1.0/group/qt5-1.0.tcl The qt5
 portgroup] picks qt55 as the version for Mac OS X 10.6 and earlier:

 {{{
     if { ${os.major} <= 7 } {
         #
         # Qt 5 does not support ppc
         # see http://doc.qt.io/qt-5/osx-requirements.html
         #
         return qt55
         #
     } elseif { ${os.major} <= 9 } {
         #
         # Mac OS X Tiger (10.4)
         # Mac OS X Leopard (10.5)
         #
         # never supported by Qt 5
         #
         return qt55
         #
     } elseif { ${os.major} == 10 } {
         #
         # Mac OS X Snow Leopard (10.6)
         #
         #     Qt 5.3: Deployment only
         # Qt 5.0-5.2: Occasionally tested
         #
         return qt55
         #
 }}}

 [browser:macports-ports/aqua/qt55/Portfile qt55] says it requires Mac OS X
 10.7 or later:

 {{{
 if { ${os.major} < 11 } {
     pre-fetch {
         ui_error "${subport} requires OS X 10.7 or later"
         return -code error "incompatible OS version"
     }
 }
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/58322>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list