[22274] trunk/dports/sysutils/file/Portfile

Adam Mercer ramercer at gmail.com
Sat Feb 24 20:11:43 PST 2007


On 24/02/07, Elias Pipping <pipping at macports.org> wrote:
> assuming you already have the port, updated. compare the output of
>
>      /opt/local/bin/gfile /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/
> libncurses.5.4.dylib
>
> and
>
>      /usr/bin/file /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libncurses.
> 5.4.dylib

for those who don't have the file port installed

[ram at skymoo ram]$ file
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libncurses.5.4.dylib
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libncurses.5.4.dylib: Mach-O
universal binary with 4 architectures
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libncurses.5.4.dylib (for
architecture ppc):    Mach-O dynamically linked shared library stub
ppc
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libncurses.5.4.dylib (for
architecture ppc64):  Mach-O 64-bit dynamically linked shared library
stub ppc64
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libncurses.5.4.dylib (for
architecture i386):   Mach-O dynamically linked shared library stub
i386
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libncurses.5.4.dylib (for
architecture x86_64): Mach-O 64-bit dynamically linked shared library
stub x86_64
[ram at skymoo ram]$ gfile
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libncurses.5.4.dylib
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libncurses.5.4.dylib: Mach-O
fat file with 4 architectures
[ram at skymoo ram]$

Cheers

Adam



More information about the macports-dev mailing list