#38280: RFE: add a qmake portgroup --------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 2.1.3 Resolution: | Keywords: Port: | --------------------------+-------------------------------- Comment (by nicos@…): It seems a hassle to have to modify the project in order to change the references to some variables individually. I made some tests with qmake, and it seems that adding {{{ variant debug description "Enable debug binaries" { configure.pre_args-append "CONFIG+=debug" } }}} does the trick to enable debug, as "debug" has precedence over "release" when both are invoked. Additionally, it seemed that "debug_and_release" can lead to some issues when building. Similarly, adding {{{ if {[variant_isset universal]} { pre-configure { configure.pre_args-append "CONFIG+=\"${qt_arch_types}\"" } } }}} seem to work for universal build. -- Ticket URL: <https://trac.macports.org/ticket/38280#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X