[MacPorts] #22963: mesa: libGLU and libglut aren't universal if file port is installed (was: mesa: libGLU and libglut aren't universal)

MacPorts noreply at macports.org
Sun Dec 20 21:16:06 PST 2009


#22963: mesa: libGLU and libglut aren't universal if file port is installed
--------------------------------------+-------------------------------------
  Reporter:  ryandesign@…             |       Owner:  jeremyhu@…           
      Type:  defect                   |      Status:  closed               
  Priority:  Normal                   |   Milestone:                       
 Component:  ports                    |     Version:  1.8.1                
Resolution:  fixed                    |    Keywords:                       
      Port:  mesa                     |  
--------------------------------------+-------------------------------------
Changes (by ryandesign@…):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 I still don't know why libGL was being built universal, but I found out
 why libGLU and libglut weren't: I had the "file" port installed. mklib
 gets the list of architectures to build the dylibs for from the output of
 the "file" program, but the version of the "file" program provided by the
 "file" port doesn't output that information when there is more than one
 arch in the file. I [changeset:61769 fixed it] to use "lipo -info"
 instead, and shortened their code quite a bit; you may want to contribute
 that patch back to them, since it also fixes the bug in their code where
 it would misinterpret arch ppc64 as being both arch ppc64 and arch ppc.

 I wasn't sure if I should bump the revision (so I didn't in r61769)
 because this issue only affects those building universal when they have
 the "file" port installed.

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


More information about the macports-tickets mailing list