[MacPorts] #33544: Change default gfortran/gcj dependency from gcc44 to gcc45

Joshua Root jmr at macports.org
Wed Mar 14 22:40:39 PDT 2012


On 2012-3-15 15:00 , MacPorts wrote:
> #33544: Change default gfortran/gcj dependency from gcc44 to gcc45
> -------------------------------+--------------------------------------------
>   Reporter:  jmr@…             |       Owner:  macports-tickets@…                   
>       Type:  enhancement       |      Status:  closed                               
>   Priority:  Normal            |   Milestone:                                       
>  Component:  ports             |     Version:                                       
> Resolution:  fixed             |    Keywords:                                       
>       Port:                    |  
> -------------------------------+--------------------------------------------
> 
> Comment(by ryandesign@…):
> 
>  Replying to [comment:7 jmr@…]:
>  > Replying to [comment:2 ryandesign@…]:
>  > > Ideally I'd wait until after I've updated cdf to the next version
>  before changing its gcc default.
>  > Why? Changing the default variant doesn't affect anyone who already has
>  the port installed.
> 
>  Yes, it does. Users who had cdf installed before r90575 will have it
>  installed with gcc44 but will not have any variant set. When those users
>  now upgrade to cdf 3.4.0, they will be switched to the gcc45 variant,
>  which might not be what they wanted. Had we waited with switching the
>  default variant to gcc45 until after the port was updated to 3.4.0, the
>  upgrade would have occurred with gcc44, and the variant would then have
>  been set, and would then have been kept through any future upgrades,
>  regardless of what we change the default to later; the user would thus
>  have been in control of the gcc version.

If that's what you're aiming for you'd have to wait until at least the
version after next, but even then it's not guaranteed to work (depends
on how often any given user upgrades). The user never actually chose
gcc44 before anyway, because there was no choice.

- Josh


More information about the macports-dev mailing list