path dependency

Joshua Root jmr at macports.org
Thu Jun 13 03:30:52 PDT 2013


On 2013-6-13 16:29 , David Strubbe wrote:
> Hi all,
> 
> I wonder if there is a way in a Portfile to see if a particular port is
> active or not, or alternately, to see if a path dependency was fulfilled
> by the file or the port.

Yes, _portnameactive is exported to the portfile interpreters, and
_get_dep_port will tell you which port satisfies a given depspec.

- Josh


More information about the macports-dev mailing list