path: dependency for files NOT in macports

Joshua Root jmr at macports.org
Thu Dec 11 08:50:37 PST 2008


Ryan Schmidt wrote:
> 
> On Dec 11, 2008, at 02:18, Anders F Björklund wrote:
> 
>> 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",
> 
> Actually I'm told you currently can't because variables are not expanded
> in depspecs.
> 
> http://trac.macports.org/ticket/17182

Technically that only seems to be the case for $prefix - but expanding
$x11prefix at indexing time is wrong anyway. Yet, it may do just what
you want in this particular case.

- Josh


More information about the macports-dev mailing list