On Sep 7, 2010, at 16:43, Rainer Müller wrote:
> On 2010-09-07 23:27 , Titus von Boxberg wrote:
>> Still, would be nice to know why not to handle the issue in post-activate 
>> commands.
> 
> post-build or post-destroot would be the most appropriate phase for such
> a change. Files should not be changed after they are packed up and
> installed. post-active would be appripriate for updating cache files or
> handling configuration files. The install_name_tool only needs to be
> called once at the time of build, not every time the port will be activated.

Furthermore, if a post-install script ever failed, the port would still be 
installed, and the user could still activate it. If a post-activate script ever 
failed, the port would still be activated. And the user would rightly in such a 
situation expect the port to work.

_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to