[MacPorts] #23272: qtiplot 0.9.7.9 fails to build on Snow Leopard
MacPorts
noreply at macports.org
Thu Jan 28 02:24:20 PST 2010
#23272: qtiplot 0.9.7.9 fails to build on Snow Leopard
------------------------------------+---------------------------------------
Reporter: Stochasticus@… | Owner: jonas@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Keywords: | Port: qtiplot
------------------------------------+---------------------------------------
Comment(by jonas@…):
hmmm that's interesting. I thought zlib was already pulled in by Qt, but
maybe the cocoa version doesn't do so... That wuold also explain why I
can't reproduce the problem here on Leopard. (qt4-mac builds per default
the cocoa variant on snow leopard, since the carbon variant isn't 64 bit
ready)
Your patch seems a bit hacky though. Could you please try to add zlib to
SYS_LIBS, say
{{{
- puts $confFD "SYS_LIBS = -L${prefix}/lib"
+ # snow leopard seems to need zlib explicitly, see #23272
+ puts $confFD "SYS_LIBS = -L${prefix}/lib -lz"
}}}
If this works, add zlib as additional dependency and feel free to commit,
thanks.
--
Ticket URL: <http://trac.macports.org/ticket/23272#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list