[MacPorts] #32750: apple-gcc42 @5666.3 build fails due to ppc build target

MacPorts noreply at macports.org
Tue Jan 3 09:49:16 PST 2012


#32750: apple-gcc42 @5666.3 build fails due to ppc build target
----------------------------+-----------------------------------------------
 Reporter:  jlmuir@…        |       Owner:  macports-tickets@…                   
     Type:  defect          |      Status:  new                                  
 Priority:  Normal          |   Milestone:                                       
Component:  ports           |     Version:  2.0.3                                
 Keywords:  lion            |        Port:  apple-gcc42                          
----------------------------+-----------------------------------------------
 The apple-gcc42 port fails to build for me on Mac OS X 10.7.2 (Xcode
 4.2.1).

 The Portfile adds a "ppc" build target if
 "${developer_dir}/SDKs/MacOSX10.5.sdk" exists.  On my system, because I
 need the MacOSX10.5.sdk for a certain project, I have it installed by hand
 in addition to the other SDKs.  So the Portfile sees this SDK and adds the
 "ppc" build target, but Mac OS X 10.7 does not support building PPC
 binaries.

 The attached patch makes the Portfile not add the "ppc" build target if on
 Darwin 11 (Mac OS X 10.7) or later.

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


More information about the macports-tickets mailing list