On Oct 18, 2014, at 7:10 PM, Ryan Schmidt <[email protected]> wrote:
>
> 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?
>
>
I have four subports: A, B, C and D. Subports B, C depend on A (pretty
straightforward). Subport D depends on either B or C. The stub installs all
four.
Mark
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev