Question regarding file dependencies

Thibaut Paumard mlotpot.news at free.fr
Wed May 5 08:33:11 PDT 2010


Hi,

I am creating Portfiles for a bunch of packages related to the Yorick  
interpreter. One of these plug-ins, yorick-gl, depends on libGL.dylib  
and libXext.dylib.

Those two files are present already under /usr/X11/lib, so I tried  
using file dependencies as instructed in the guide ( http://guide.macports.org/#reference.dependencies.types 
  ):
   depends_lib lib:libGL:mesa lib:libXext:xorg-libXext
or
   depends_lib path:lib/libGL.dylib:mesa ....
But that does not work: "port install yorick-gl" keeps on installing  
the mesa port in particular (xorg-libXext is already installed here).  
The only way around is to specify the full path:
   depends_lib: path:/usr/X11/lib/libGL.dylib:mesa path:/usr/X11/lib/ 
libXext.dylib:xorg-libXext

Am I missing something?

Regards, Thibaut.





More information about the macports-dev mailing list