From owner-freebsd-ports@freebsd.org Wed Feb 7 10:28:50 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D92C1EF1218 for ; Wed, 7 Feb 2018 10:28:50 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 76E5281E07 for ; Wed, 7 Feb 2018 10:28:50 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from leaf.local (unknown [88.202.132.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 31CBF13BF1; Wed, 7 Feb 2018 10:28:42 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/31CBF13BF1; dkim=none; dkim-atps=neutral Subject: Re: Package depending on any one of multiple FLAVORS To: "Dan Mahoney (Gushi)" Cc: freebsd-ports@freebsd.org References: <80f97518-b6db-3cbe-b426-1356e2a196eb@FreeBSD.org> From: Matthew Seaman Message-ID: <4a6966fc-ba41-4f7c-0fee-ab7791f5c5a2@FreeBSD.org> Date: Wed, 7 Feb 2018 10:28:41 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Feb 2018 10:28:51 -0000 On 06/02/2018 10:43, Dan Mahoney (Gushi) wrote: > On Tue, 6 Feb 2018, Matthew Seaman wrote: > >> This is down to a deficiency in pkg(8) -- it can't handle having a >> number of alternate packages or ranges of different package versions to >> fulfil a dependency.  The dependencies "baked into" each package are on >> exactly the dependency package and version used at compilation time. > > This feels a lot like what I was just asking about, as well.  Are there > plans for this dependency to be addressed in the future?  My brief > combing of the wiki didn't find any kind of a roadmap or anything like > that. Well, this is one of about three wide-ranging changes to the ports that are currently in play. That is: Flavours, Sub-packages and Variable dependencies. I believe the plan is to implement them in that order -- so Flavours has landed now, but there's a lot of work ongoing to apply it everywhere it is needed. There's a code review up for sub-packages, but that project is still in the very early stages. Variable dependencies will probably happen sometime after all that. It needs a bunch of code changes in pkg(8) and then a lot of wide-ranging changes in the ports tree itself. So, don't get too excited just yet... Cheers, Matthew