#47047: new (meta)port submission: qt5-mac-mysql-plugins ------------------------------------+-------------------------------- Reporter: rjvbertin@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: qt5-mac-mysql-plugins | ------------------------------------+-------------------------------- Comment (by rjvbertin@…): Doh, that's the only use case I didn't foresee :) What about something like {{{ if {[file exists ${qt_qmake_cmd}] { version [exec ${qt_qmake_cmd} -query QT_VERSION] } else { version 5.4.1 } }}} Kinda removes part of the charm of my clever lil idea, we'll still have to bump that fallback version each time Qt is updated, but the other advantages should remain intact for users with Qt 5 installed... -- Ticket URL: <https://trac.macports.org/ticket/47047#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X