path: dependency for files NOT in macports

Joshua Root jmr at macports.org
Thu Dec 11 16:04:29 PST 2008


Jeremy Huddleston wrote:
> 
> On Dec 11, 2008, at 08:50, Joshua Root wrote:
> 
>> 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.
> 
> either way, that's still checking that it's in ${x11prefix} only and
> doesn't let the macports one satisfy it =/

The dependency is satisfied if the named port is installed, regardless
of whether it actually provides the specified file.

- Josh


More information about the macports-dev mailing list