Re: Variants handling: my $0.02.

2008-02-04 Thread Rainer Müller
Ryan Schmidt wrote: Having to specify "-ssl +gnutls" is stupid. The way I see it, "ssl" and "gnutls" are two radio buttons. To select the radio button you want, you shouldn't also have to manually deselect the radio button you don't want. It should be automatic. Fixed the lynx port so it behave

Re: Variants handling: my $0.02.

2008-02-04 Thread Rainer Müller
N_Ox wrote: These two sugar syntaxes would make the variant writing process cleaner. But maybe they could help us more... Let's say the variants which do something only when they are disabled (variant -some_variant) are always enabled by default. In this setup, `sudo port install some_port +ano

Re: Variants handling: my $0.02.

2008-02-04 Thread N_Ox
Le 4 févr. 08 à 18:32, Ryan Schmidt a écrit : On Feb 4, 2008, at 11:13, Rainer Müller wrote: So how would I tell that a +variant is default? E.g. the lynx port provides support for OpenSSL (+ssl) and GNU TLS (+gnutls). They are conflicting variants, with +ssl in default_variants. But the

Re: Variants handling: my $0.02.

2008-02-04 Thread Jordan K. Hubbard
On Feb 4, 2008, at 11:23 AM, N_Ox wrote: [ ... description of new variant syntax ...] First, let me just say how happy I am to see people revisiting the topic of variants and how to better express them. I think variants are one of the more powerful features of MacPorts (that no other por

Re: Variants handling: my $0.02.

2008-02-04 Thread N_Ox
Le 4 févr. 08 à 18:13, Rainer Müller a écrit : N_Ox wrote: These two sugar syntaxes would make the variant writing process cleaner. But maybe they could help us more... Let's say the variants which do something only when they are disabled (variant -some_variant) are always enabled by defau

Re: Variants handling: my $0.02.

2008-02-04 Thread Ryan Schmidt
On Feb 4, 2008, at 11:13, Rainer Müller wrote: So how would I tell that a +variant is default? E.g. the lynx port provides support for OpenSSL (+ssl) and GNU TLS (+gnutls). They are conflicting variants, with +ssl in default_variants. But the user has the choice to install it with GNU TLS b

Re: Variants handling: my $0.02.

2008-02-04 Thread Ryan Schmidt
On Feb 4, 2008, at 11:46, Rainer Müller wrote: Ryan Schmidt wrote: Having to specify "-ssl +gnutls" is stupid. The way I see it, "ssl" and "gnutls" are two radio buttons. To select the radio button you want, you shouldn't also have to manually deselect the radio button you don't want. It

Re: Variants handling: my $0.02.

2008-02-05 Thread Thomas de Grivel
2008/2/4, N_Ox <[EMAIL PROTECTED]>: > > Le 4 févr. 08 à 18:13, Rainer Müller a écrit : > > > N_Ox wrote: > >> These two sugar syntaxes would make the variant writing process > >> cleaner. > >> But maybe they could help us more... > >> Let's say the variants which do something only when they are > >

Re: Variants handling: my $0.02.

2008-02-05 Thread Rainer Müller
Thomas de Grivel wrote: I like it. If there is some kind of poll here, I'm in =) Hm, I don't think we found final options for a voting yet, do we? Rainer ___ macports-dev mailing list macports-dev@lists.macosforge.org http://lists.macosforge.org/m