[MacPorts] #31734: VirtualBox 4.1.4 doesn't work with Lion and Xcode 4.2

MacPorts noreply at macports.org
Fri Nov 4 07:44:53 PDT 2011


#31734: VirtualBox 4.1.4 doesn't work with Lion and Xcode 4.2
---------------------------+------------------------------------------------
  Reporter:  jk@…          |       Owner:  royliu@…           
      Type:  defect        |      Status:  reopened           
  Priority:  Normal        |   Milestone:                     
 Component:  ports         |     Version:  2.0.3              
Resolution:                |    Keywords:                     
      Port:  virtualbox    |  
---------------------------+------------------------------------------------

Comment(by ryandesign@…):

 Replying to [comment:19 jk@…]:
 >
 {{{
 +if {${configure.compiler} == "clang"} {
 +    configure.compiler llvm-gcc-4.2
 +    configure.args-append  --disable-opengl
 +}
 }}}

 What this patch is saying: if the default compiler was clang (i.e. Xcode
 4.2+, which could be running on Lion or Snow Leopard), then set the
 compiler to llvm-gcc-4.2 and disable OpenGL. But if the default compiler
 was llvm-gcc-4.2 already (i.e. Xcode 4.0 or 4.1, on either Lion or Snow
 Leopard), then leave OpenGL enabled. I'm not understanding why the
 disabling of OpenGL has anything to do with what the default compiler used
 to be before the port overrode it. comment:ticket:31328:5 said there is an
 "incompatibility between the OpenGL library in Lion with VirtualBox"; if
 that's the case, then disabling OpenGL should be happening in a `platform
 darwin 11` block, and should not be based on the compiler.

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


More information about the macports-tickets mailing list