automatic port clean

Daniel J. Luke dluke at
Mon Jan 19 06:24:21 PST 2015

> On Jan 19, 2015, at 7:14 AM, René J.V. Bertin <rjvbertin at> wrote:
> Is there or could we have an option to disable (or ask confirmation before) the automatic port clean when a portfile has changed?
> I know there's the -o option, but the times I tried it it's often given me hard-to-describe side-effects.

maybe it would make sense to describe/debug/fix these side effects?

> I may be imagining things, maybe -o simply causes the portfile checksum comparison to the value cached in the .macports state file to be skipped?

you can always check out the base source to see how it's implemented ;-)

> Anyway, just yesterday I was bitten by the auto-clean again,

might want to call it something else, since 'portautoclean' is a macports.conf variable that determines whether 'port clean' is automatically run after 'port install' - and not the 'clean because the Portfile has been modified' that you're describing.

Daniel J. Luke                                                                   
| *---------------- dluke at ----------------* |                          
| *-------------- -------------* |                          
|   Opinions expressed are mine and do not necessarily   |                          
|          reflect the opinions of my employer.          |                          

More information about the macports-dev mailing list