[MacPorts] #20626: patch to allow for proper functioning of pre-/post- install/uninstall/activate/deactivate procs

Joshua Root jmr at macports.org
Mon Aug 10 09:00:50 PDT 2009


On 2009-8-11 00:50, David Osguthorpe wrote:
>> Comment:
>>
>>  I'd rather make these into real targets than replicate all this
>>  infrastructure. Also, it might be better to wait until after the images-
>>  and-archives branch is merged.
>>
> 
> I dont think this is possible - what would deactivate/uninstall depend on?

Nothing.

> they also cannot be the same as install targets as deactivate/uninstall are not
> performed in the same environment - there is no work path, no destroot etc.

I don't know what you mean by "the same as". There are constraints on
what you can do there, sure.

> in addition you would have to get the whole target system to somehow read the old
> version of the Portfile (do you know how to do this? - I thought about this but
> it looked as though it would require far more modifications than this working
> implementation)

Everything needed to run this stuff should live somewhere in the registry.

> when will the image/archive branch be merged?

When it's done.

- Josh


More information about the macports-dev mailing list