From owner-freebsd-questions@FreeBSD.ORG Sat Sep 12 06:10:29 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3E19106566B for ; Sat, 12 Sep 2009 06:10:29 +0000 (UTC) (envelope-from jwdevel@gmail.com) Received: from mail-yx0-f193.google.com (mail-yx0-f193.google.com [209.85.210.193]) by mx1.freebsd.org (Postfix) with ESMTP id 7F8E88FC12 for ; Sat, 12 Sep 2009 06:10:29 +0000 (UTC) Received: by yxe31 with SMTP id 31so2207645yxe.29 for ; Fri, 11 Sep 2009 23:10:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=c238DdJuQ/FC4Ey9LPpQQquhEA+EMFs3nG1K7tpFs6w=; b=P5O/jhGxilGawsA58+w+LtU9Z3WLBrygnBEah/5yPQPQckjstXPy6+RozViy5qTt9E fNk6eGW90HuaKAlZd8Ul+7RGhGXE4YEhJMy5Mf1kQ/6lnItu4Yag49sr8R3YqkyFlbGJ y8ryUL35GF1Eylq8SgaDYYI6UzH1EFB+s/PcU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=gcGn4jjP9DdJg1XFxR0+0Rej8RdHoYIe0/KOkkTXPtl9FdbmGgXv4yTXq8SqtShGZM dmPrv4mccB1bMK7qy63VLwyzs5cubDz06YZUcVjZkUvE37sTxAQ5MD+YfgN0P35gvonL 8e0RiblfFkX+yZOWsogj+3bpin1Ux66Ae5SbY= MIME-Version: 1.0 Received: by 10.91.7.17 with SMTP id k17mr2198487agi.24.1252735828859; Fri, 11 Sep 2009 23:10:28 -0700 (PDT) In-Reply-To: References: Date: Fri, 11 Sep 2009 23:10:28 -0700 Message-ID: From: John W To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: ports: how to handle 'alternate' dependencies X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 06:10:29 -0000 On Fri, Sep 11, 2009 at 11:06 PM, John W 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