ports: how to handle 'alternate' dependencies
jwdevel at gmail.com
Sat Sep 12 06:10:29 UTC 2009
On Fri, Sep 11, 2009 at 11:06 PM, John W <jwdevel at gmail.com> wrote:
> I'm just learning the guts of how ports work, and wonder:
> How do ports specify that "any one of X, Y, Z " would satisfy a dependency.
> For instance, when I build graphics/jalbum, it says it requires jdk16.
> I would rather use diablo-jdk16, since I find it faster and it is
> easier to install.
Whoops - in particular graphics/jalbum has the line:
JAVA_VENDOR = bsdjava
So it seems that special JAVA_XXX variables are used to solve the
problem in this particular case.
However, I would still like to know what (if any) general support
there is for this kind of problem.
More information about the freebsd-questions