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

Vincent Lefevre vincent-opdarw at vinc17.org
Sun Feb 25 17:45:20 PST 2007


On 2007-02-25 04:54:29 +0100, Elias Pipping 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
> 
> that should answer your question.
> 
> 
> also noone prevents the user from creating "alias file=gfile".

But it will not be available in scripts and so on (unless the user
adds symlinks like /usr/local/bin/file -> /opt/local/bin/gfile, which
I did for other programs). This also means that ports that use the
file utility (this is the case of lesspipe, AFAIK) should be patched
to use gfile.

-- 
Vincent Lefèvre <vincent at vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)



More information about the macports-dev mailing list