path: dependency for files NOT in macports

Anders F Björklund afb at macports.org
Thu Dec 11 00:18:02 PST 2008


Jeremy Huddleston wrote:

> Is there a way for me to do something like:
>
> path:lib/pkgconfig/x11.pc:xorg-libX11
>
> but have that dependency satisfied by /usr/X11/lib/pkgconfig/x11.pc ?

You can use "${x11prefix}/lib/pkgconfig/x11.pc",
but it's not guaranteed to work or be portable...
i.e. the .pc files don't have to be in "lib",
they could also be in a "libdata" or something.

So maybe pkconfig:x11:xorg-libX11 is in order ?
(would need "base" to grow a feature, though)

--anders



More information about the macports-dev mailing list