[MacPorts] #30342: Update ARB for Lion (OS X 10.7) and Xcode 4

MacPorts noreply at macports.org
Sun Jul 24 17:05:35 PDT 2011


#30342: Update ARB for Lion (OS X 10.7) and Xcode 4
--------------------------------------+-------------------------------------
 Reporter:  matt.cottrell@…           |       Owner:  macports-tickets@…                   
     Type:  update                    |      Status:  new                                  
 Priority:  Normal                    |   Milestone:                                       
Component:  ports                     |     Version:  2.0.0                                
 Keywords:  lion haspatch maintainer  |        Port:  arb                                  
--------------------------------------+-------------------------------------

Comment(by jmr@…):

 This is the how you need to fall back to gcc-4.2 such that it should work
 on all platforms:
 {{{
 if {${configure.compiler} == "clang" ||
     ${configure.compiler} == "llvm-gcc-4.2"} {
     configure.compiler gcc-4.2
     if {![file executable ${configure.cc}]} {
         depends_build-append port:apple-gcc42
         configure.compiler apple-gcc-4.2
     }
 }
 }}}
 As suggested by jeremyhu: http://lists.macosforge.org/pipermail/macports-
 dev/2011-July/015263.html

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


More information about the macports-tickets mailing list