From owner-freebsd-questions@FreeBSD.ORG Sat Sep 12 06:06:11 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 DD053106566B for ; Sat, 12 Sep 2009 06:06:11 +0000 (UTC) (envelope-from jwdevel@gmail.com) Received: from mail-yw0-f179.google.com (mail-yw0-f179.google.com [209.85.211.179]) by mx1.freebsd.org (Postfix) with ESMTP id 9CD738FC14 for ; Sat, 12 Sep 2009 06:06:11 +0000 (UTC) Received: by ywh9 with SMTP id 9so2419698ywh.32 for ; Fri, 11 Sep 2009 23:06:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=FH9PU2uGUjZKvO3fTJa43ZgyWOyCLq+x1sWjmUp9vjI=; b=VQAfCTt2OumaVLprRvDZFrRQTmHmrrnJbgEcpDEfyyvdy1qtZS4/lRIHIa0sPISIhV 1tywqUN6BmheZ5pZsfZWRjDzK/zmoVrVgyiBSw7F9deENmUYC4G3GPkT2SlJolrf0XkB sOy67ZpwVZ+ze8vPu2SCci5UVRVqADsBSVCnE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=gR6KY6zVJNxrPw8cn1qh9SuRNzEwrkaMqerwzSu2QLmNO/DBZKjZyHDb7iPGgIM1U3 bUeeC7SHfqyM/gnOHZQpiKhobUZTbGnnKb65SRewXojFOPQso0Hm0YDTdaGHdtprdXDP 8YpE5OqIVcW1Wq3oQJJmdE8hy4EecGdP3u7CI= MIME-Version: 1.0 Received: by 10.90.217.11 with SMTP id p11mr2177006agg.82.1252735570825; Fri, 11 Sep 2009 23:06:10 -0700 (PDT) Date: Fri, 11 Sep 2009 23:06:10 -0700 Message-ID: From: John W To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 Subject: 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:06:11 -0000 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. But how would I alter graphics/jalbum to say, essentially, "either jdk16 or diablo-jdk16 is required" Generally, how to handle the case when a port requires X, but there are multiple implementations of X that can perform the job, and any will suffice? I feel like this issue must come up from time to time, what is the right way to deal with it? I didn't see any mention of this in the porters handbook... Thanks -John