Donnie Berkholz wrote:
> On 11:30 Sun 30 Sep     , Alin Nastac (mrness) wrote:
>   
>> 1.1 mail-filter/dspam/dspam-3.8.0-r7.ebuild
>>
>> file : 
>> http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/dspam/dspam-3.8.0-r7.ebuild?rev=1.1&view=markup
>> plain: 
>> http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/dspam/dspam-3.8.0-r7.ebuild?rev=1.1&content-type=text/plain
>>      if use mysql || use postgres ; then
>>              myconf="${myconf} --enable-preferences-extension"
>>      fi
>>     
>
> I think you could use use_enable() or use_with() for many of these.
>
> $(use mysql || use postgres && use_enable virtual-users)
>   
According to bash manual, && has a greater precedence than ||. That
would translate in:

        $(use mysql || (use postgres && use_enable virtual-users))

which will result in use_enable virtual-users being enabled only when
USE="-mysql postgres".

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to