From owner-freebsd-ports@FreeBSD.ORG Sun Sep 18 05:49:11 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD1C91065670 for ; Sun, 18 Sep 2011 05:49:11 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 519E58FC19 for ; Sun, 18 Sep 2011 05:49:10 +0000 (UTC) Received: by wwe3 with SMTP id 3so6209799wwe.31 for ; Sat, 17 Sep 2011 22:49:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Fs+nNruLfzwFk9GMSlx6TB1SAGrDL5JgM8YFPBkANaE=; b=l2NyfgGjsLWWWK3Tct5VaEHarBse1vec4F2E48Vk8sPIqcdRkzeG7sgSa2wy4Y5Pbi /p6UpAvXsyVLDZhShMvq62jtJ0YXtZUz2CdZgO4KXYsU/312qBse0ZNp5UYB+zsoYqJ1 ed96zoGp3TwVDuAp1Y7lWBzI5dbNshT4OJnac= Received: by 10.227.5.213 with SMTP id 21mr1235513wbw.40.1316324950135; Sat, 17 Sep 2011 22:49:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.227.117.1 with HTTP; Sat, 17 Sep 2011 22:48:39 -0700 (PDT) In-Reply-To: <20110918053800.C9264106566B@hub.freebsd.org> References: <20110918053800.C9264106566B@hub.freebsd.org> From: Eitan Adler Date: Sun, 18 Sep 2011 01:48:39 -0400 Message-ID: To: Thomas Mueller Content-Type: text/plain; charset=UTF-8 Cc: freebsd-ports@freebsd.org Subject: Re: Substitute dependencies? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Sep 2011 05:49:11 -0000 On Sun, Sep 18, 2011 at 1:38 AM, Thomas Mueller wrote: > Is there any way to substitute dependencies, in cases where the substitute would work as well or better? We do not currently handle this very well. portmaster attempts to emulate this feature by comparing CONFLICTS lines. There have been proposals in the past to deal with this but none have managed to make it into the tree. >Another case I think of is mysql as a dependency when the user might prefer MariaDB or PostgreSQL. This may not always be possible, but I do understand the point you are trying to make -- Eitan Adler