[MacPorts] #20982: jpeg does not build on Snow Leopard with i386 arch set

MacPorts noreply at macports.org
Wed Sep 16 05:59:01 PDT 2009


#20982: jpeg does not build on Snow Leopard with i386 arch set
---------------------------------+------------------------------------------
 Reporter:  cbradney@…           |       Owner:  waqar@…           
     Type:  defect               |      Status:  new               
 Priority:  Normal               |   Milestone:                    
Component:  ports                |     Version:  1.8.0             
 Keywords:  snowleopard          |        Port:  jpeg              
---------------------------------+------------------------------------------

Comment(by florian.feldhaus@…):

 Hi!
 I had the same problem. I found the following workaround:
 open the makefile with e.g.:
 sudo vi
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/jpeg/work
 /jpeg-6b/Makefile

 and add your architecture (i386 or x86_64 or both) to the ldflags:
 LDFLAGS = -arch i386 ...

 Snow Leopard seems to have some different mechanisms for the arch flags.
 Perhaps this can be put in the Portfile somehow?

-- 
Ticket URL: <http://trac.macports.org/ticket/20982#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list