Opened 12 years ago

Closed 12 years ago

#34518 closed defect (fixed)

qt4-mac: "build.target all" incorrect

Reported by: mackyle@… Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc:
Port: qt4-mac

Description

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.

Change History (4)

comment:1 Changed 12 years ago by mackyle@…

Cc: mackyle@… added

Cc Me!

comment:2 Changed 12 years ago by mackyle@…

Cc: mackyle@… removed

Cc Me!

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to michaelld@…
Summary: qt4 build.target all incorrectqt4-mac: "build.target all" incorrect

comment:4 Changed 12 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: newclosed

Should be fIxed in r94241. Please do the following

sudo port clean qt4-mac
sudo port selfupdate

and then try to install or upgrade qt4-mac again. I'm closing this ticket, since it now refers to an old version of qt4-mac. Please open a new ticket if this issue persists with the new qt4-mac.

Note: See TracTickets for help on using tickets.