automatically put require_active_variants in pre-configure Was: Re: [100265] trunk/dports/python

Aljaž Srebrnič g5pw at macports.org
Fri Dec 7 01:00:08 PST 2012


On 06/dic/2012, at 14:25, Clemens Lang <cal at macports.org> wrote:

> On Thu, Dec 06, 2012 at 04:13:20AM -0600, Ryan Schmidt wrote:
>> On Dec 6, 2012, at 03:05, Aljaž Srebrnič  wrote:
>>> well, the only difference between putting the code in pre-configure
>>> and post-configure is, well, that configure gets executed, so
>>> pre-configure should save some time.
> 
>>> but we can always change the portgroup...
>> Yes, I suppose I should be asking Clemens (Cc'd now) about this since
>> he wrote the portgroup.
> 
> Yes, require_active_variants could certainly be put in a pre-configure
> block automatically. I didn't omit this for any specific reasons, I just
> didn't think of doing it automatically.
> 
> I probably won't be able to do this before the weekend, so feel free to
> do the change yourself if you want. Remember this is an API change for
> the portgroup and needs to go into a new active_variants 1.1 group to
> avoid breaking Portfiles executed from registry during the uninstall
> and/or deactivate phases.


Well, I'm not so skilled with portgroups, so I'll leave the change to you and try to learn from your code, if you don't mind! :)

--
Aljaž Srebrnič a.k.a g5pw
My public key:  http://bit.ly/g5pw_pubkey




More information about the macports-dev mailing list