example config files: destroot or activate?

Joshua Root jmr at macports.org
Tue Mar 6 11:54:18 PST 2012


On 2012-3-7 06:48 , Joshua Root wrote:
> On 2012-3-7 06:36 , Jeremy Lavergne wrote:
>>> See <https://trac.macports.org/wiki/PortfileRecipes#configfiles>.
>>
>> Thanks.
>>
>> We probably need to go through all the ports and make sure this is happening. I had one that was still using post-destroot.
> 
> Yes, any ports not doing this correctly should be fixed. Renaming the
> files in post-destroot would never have worked. It's probably more
> common for ports to do nothing at all to attempt to handle this though.

Oh, just to avoid any possible confusion: renaming foo.conf to
foo.conf.default is something that you can do in post-destroot. Copying
foo.conf.default to foo.conf is what has to happen in post-activate;
doing that in post-destroot would never do anything useful.

- Josh


More information about the macports-dev mailing list