deactivate hack in PortfileRecipes?

Clemens Lang cal at macports.org
Tue Mar 5 02:37:58 PST 2013


On Tue, Mar 05, 2013 at 09:34:08PM +1100, Joshua Root wrote:
> I would hope nobody is particularly comfortable with it.

I disagree. I am rather comfortable with it and understand the details
of why and how it works, because I've needed it a couple of times.

Unfortunately I haven't had any time to document it yet.

> We should be aiming for a solution in base, perhaps an option like
> deactivate_conflicting that would trigger the same behaviour for the
> listed ports as if they were marked as replaced_by the port being
> activated.

The proper solution for the problem would be conflicts lines specifying
versions and a dependency resolver that supports suggesting intelligent
solutions:
  You have requested port abc. The following operations will make that
  happen:
    remove port conflicting @1.2.3_4
	install port abc @3.4.5_6

-- 
Clemens Lang



More information about the macports-dev mailing list