Date: Sat, 26 Jan 2008 22:39:51 -0600 From: "Jeremy Messenger" <mezz7@cox.net> To: "Doug Barton" <dougb@freebsd.org> Cc: "Aryeh M. Friedman" <aryeh.friedman@gmail.com>, freebsd-ports@freebsd.org, Sergey Matveychuk <sem@freebsd.org> Subject: Re: ports-mgmt/portupgrade-devel Message-ID: <op.t5km8puh9aq2h7@mezz.mezzweb.com> In-Reply-To: <alpine.BSF.1.00.0801261622030.16534@ync.qbhto.arg> References: <479B91C5.5050002@FreeBSD.org> <479BBDFA.9090303@gmail.com> <alpine.BSF.1.00.0801261622030.16534@ync.qbhto.arg>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 26 Jan 2008 18:25:01 -0600, Doug Barton <dougb@FreeBSD.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.t5km8puh9aq2h7>