From owner-freebsd-ports@FreeBSD.ORG Sun Jan 27 04:39:04 2008 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 2D91B16A420; Sun, 27 Jan 2008 04:39:04 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmmtao107.cox.net (eastrmmtao107.cox.net [68.230.240.59]) by mx1.freebsd.org (Postfix) with ESMTP id 83CBD13C46B; Sun, 27 Jan 2008 04:39:03 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmimpo01.cox.net ([68.1.16.119]) by eastrmmtao107.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20080127043901.DEQA8815.eastrmmtao107.cox.net@eastrmimpo01.cox.net>; Sat, 26 Jan 2008 23:39:01 -0500 Received: from mezz.mezzweb.com ([24.255.149.218]) by eastrmimpo01.cox.net with bizsmtp id i4dp1Y0024iy4EG0000000; Sat, 26 Jan 2008 23:37:49 -0500 Date: Sat, 26 Jan 2008 22:39:51 -0600 To: "Doug Barton" From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <479B91C5.5050002@FreeBSD.org> <479BBDFA.9090303@gmail.com> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: User-Agent: Opera Mail/9.25 (Linux) Cc: "Aryeh M. Friedman" , freebsd-ports@freebsd.org, Sergey Matveychuk Subject: Re: ports-mgmt/portupgrade-devel 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, 27 Jan 2008 04:39:04 -0000 On Sat, 26 Jan 2008 18:25:01 -0600, Doug Barton wrote: > On Sat, 26 Jan 2008, Aryeh M. Friedman wrote: > >> Sergey Matveychuk wrote: >>> Hi! >>> >>> After a long time, I've got a little free time and spent it working for >>> portupgrade. >>> A new version (2.4.0) was released. > > Congrats on both the new version, and finding the time. :) > >> This breaks certain ports (portupgrade -a) that have multiple ports >> that can satisfy a depends. For example net-p2p/deulge depends on >> devel/boost but multimedia/miro depends on devel/boost-python. The >> only difference between boost and boost-python is boost-python sets >> the -DWITH_PYTHON flag and lists lang/python >> -2.5 while boost does not depend on it and makes the user specify the >> above flag from the command line. Under the old portugrade it relied >> on miro and/or deluge to detect its own depends and since both did it >> by xDEP on the installed files either whould be accepted. Under the >> new one portupgrade attempts to build from index depends thus does not >> allow this interchangablity. > > I handled this in portmaster by analyzing the CONFLICTS. If a requested > dependency has a CONFLICTS line I check the glob patterns against the > installed ports with pkg_info and keep going if we already have > something installed that will work. > > That's not a perfect solution, but it handles all the cases I've seen > personally, or users complained about before that feature was introduced. I love this solution, I remember this: http://lists.freebsd.org/pipermail/freebsd-ports/2006-August/034434.html http://lists.freebsd.org/pipermail/freebsd-ports/2006-August/034579.html :-) Cheers, Mezz > hope this helps, > > Doug > -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src) http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org http://wiki.freebsd.org/multimedia - multimedia@FreeBSD.org