[MacPorts] #11747: make 'file' universal-aware

MacPorts noreply at macports.org
Wed Feb 25 18:52:57 PST 2009


#11747: make 'file' universal-aware
----------------------------------+-----------------------------------------
 Reporter:  pipping@…             |       Owner:  pipping@…           
     Type:  enhancement           |      Status:  new                 
 Priority:  Low                   |   Milestone:  Port Enhancements   
Component:  ports                 |     Version:                      
 Keywords:  universal             |        Port:  file                
----------------------------------+-----------------------------------------

Comment(by blb@…):

 It looks like pipping had started to port Apple's patches for file to 4.20
 (which was probably current at the time); these patches add the ability to
 file to better detect universally-compiled programs/libraries.  For
 example:
 {{{
 $ file /bin/ls
 /bin/ls: Mach-O universal binary with 2 architectures
 /bin/ls (for architecture i386):        Mach-O executable i386
 /bin/ls (for architecture ppc7400):     Mach-O executable ppc
 $ gfile /bin/ls
 /bin/ls: Mach-O fat file with 2 architectures
 }}}
 Of course since the patches are incomplete (and probably won't apply to
 5.00 as cleanly), you don't have to try to implement them.

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


More information about the macports-tickets mailing list