[MacPorts] #20435: qt4-mac won't compile on Snow Leopard
MacPorts
noreply at macports.org
Tue Sep 1 17:08:13 PDT 2009
#20435: qt4-mac won't compile on Snow Leopard
---------------------------------+------------------------------------------
Reporter: huahang.liu@… | Owner: erickt@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Keywords: snowleopard | Port: qt4-mac
---------------------------------+------------------------------------------
Comment(by xellos@…):
Right, thanks Phil.
I've managed to install this port by adding explicit architecture switch
to configure arguments. This way qt tells lipo about architecture of .out
files and everything proceeds without problems.
This can be achieved without modifying port file by using +universal
variant which calls "configure.args-append -arch ${arch}" for both x86 and
x86_64. Keep in mind that this requires all dependencies to be available
as universal binaries.
The other way is to add "-arch x86_64" (for newer macs) or "-arch x86"
(for 32bit intel macs) to configure.args in Portfile at line 81. I don't
know port system's variable that would allow accessing proper value for
given machine, so I cannot send universal patch.
--
Ticket URL: <http://trac.macports.org/ticket/20435#comment:33>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list