Ryan Schmidt ryandesign at
Sat Oct 18 17:10:01 PDT 2014

On Oct 18, 2014, at 1:41 PM, Mark Brethen wrote:
> Is it possible to specify e.g lib-depends {port:A || port:B} i.e. either port A or port B?

No, unless port A and port B are different versions of the same software that install their files to the same locations.

For example, if your port requires Graphviz, then the dependency should be written "path:bin/dot:graphviz"; thus either the graphviz port or the graphviz-devel port will satisfy the dependency, since they both provide (different versions of) the dot binary.

What is the specific scenario you're dealing with?

More information about the macports-dev mailing list