[MacPorts] #34518: qt4 build.target all incorrect

MacPorts noreply at macports.org
Sat May 19 17:22:13 PDT 2012


#34518: qt4 build.target all incorrect
-------------------------------+--------------------------------------------
 Reporter:  mackyle@…          |       Owner:  macports-tickets@…                   
     Type:  defect             |      Status:  new                                  
 Priority:  Normal             |   Milestone:                                       
Component:  ports              |     Version:  2.1.1                                
 Keywords:                     |        Port:  qt4-mac                              
-------------------------------+--------------------------------------------
 The qt4-mac port Portfile
 [http://svn.macports.org/repository/macports/trunk/dports/aqua/qt4-mac/Portfile]
 explicitly sets the build.target to all.  This is incorrect.

 By setting the target to all a -debug-and-release build is forced no
 matter what variants or configure options are selected greatly increasing
 the build time over the default variant which would otherwise only be a
 -release build.

 Removing the build.target line will not work either since the default
 value is all.

 However, changing the build.target line in the Portfile from this:

 {{{
 build.target all
 }}}

 to this:

 {{{
 build.target
 }}}

 does the trick allowing the port-variant-selected configure options to
 take effect and produce only a release build by default.

 That single change reduced build time by about an hour on this port for
 me.

-- 
Ticket URL: <https://trac.macports.org/ticket/34518>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list