Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Sep 2009 23:10:28 -0700
From:      John W <jwdevel@gmail.com>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: ports: how to handle 'alternate' dependencies
Message-ID:  <fa8771800909112310t64216386u870c1c8dccd515cb@mail.gmail.com>
In-Reply-To: <fa8771800909112306n2a58ff56h5a7bd9e056b062fc@mail.gmail.com>
References:  <fa8771800909112306n2a58ff56h5a7bd9e056b062fc@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 11, 2009 at 11:06 PM, John W <jwdevel@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.

-John



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fa8771800909112310t64216386u870c1c8dccd515cb>