portfile question concerning optional deps

Joshua Root jmr at macports.org
Sat Jul 16 08:51:22 PDT 2011


On 2011-7-17 01:18 , Marko Käning wrote:
> 
> On Jul 16, 2011, at 5:14 PM, Bradley Giesbrecht wrote:
> 
>>
>> On Jul 16, 2011, at 8:06 AM, Marko Käning wrote:
>>
>>> I have modified the Guide based on your words, Dan.
>>>
>>> See http://trac.macports.org/changeset/80729 for reference.
>>
>> If path: is not absolute is it still restricted to prefix?
>>
>> path:${prefix}/bin = path:bin ?
> 
> Yes, that's how I read it.
> Since, if it is absolute it is not restricted to the prefix.
> 
> So, to reformulate your above sentence: "f path: is not absolute is it restricted to prefix."

Relative paths in depspecs automatically get ${prefix}/ prepended, since
they wouldn't really make sense otherwise (what would they be relative to?)

<https://trac.macports.org/browser/trunk/base/src/port1.0/portutil.tcl#L2580>

- Josh


More information about the macports-dev mailing list