Ports and their dependencies (run deps and also versioning questions)

Tabitha McNerney tabithamc at gmail.com
Fri May 30 12:07:10 PDT 2008


On 5/30/08, Rainer Müller <raimue at macports.org> wrote:
>
> Tabitha McNerney wrote:
>
>> The MacPorts documentation says there are three types of dependencies:
>> build, library and run. In the example above of Xft2, we see build and
>> library dependencies listed out on the command line.  I have yet to run
>> across a port that also say it has run dependencies. Are there any example
>> of such ports? I just want to make sure that I am parsing the output
>> correctly so a test example would be helpful.
>>
>
> There are lots of them, do some grep:
>  find $(port dir MacPorts)/../../ -type f -name Portfile \
>        -exec grep -H depends_run {} \;
>
>  Also, on a related note, let's say we run this command, whereby we specify
>> the precise version of Xft2 (2.1.12_0):
>>
>>    $ port deps Xft2 @2.1.12_0
>>
>
> @version is ignored for port deps.
>
> port deps takes infos from PortIndex only, so it may not always be
> accurate.
>
> [...]
>
>> Is this purely a matter of the active port (Xft2) will only successfully
>> install (and capable of being activated) based on whatever versions are of
>> its (library, build, run) dependencies at the moment it is installed?
>>
>
> Dependencies in MacPorts are not on a specific version of a port, just on a
> port being installed and active - regardless of variants and version.


Thanks Rainier for this helpful insight!

T.M.

Rainer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080530/caed6720/attachment.htm 


More information about the macports-users mailing list