1 |
On 01/14/2018 06:53 PM, Robin H. Johnson wrote: |
2 |
> +# @ECLASS-VARIABLE: MODULES_OPTIONAL_USE_IUSE_DEFAULT |
3 |
> +# @DESCRIPTION: |
4 |
> +# A boolean to control the IUSE default state for the MODULES_OPTIONAL_USE USE |
5 |
> +# flag. Default value is unset (false). True represented by 1 or 'on', other |
6 |
> +# values including unset treated as false. |
7 |
> + |
8 |
> ... |
9 |
> + |
10 |
> +case $MODULES_OPTIONAL_USE_IUSE_DEFAULT in |
11 |
> + 1) _modules_optional_use_iuse_default='+' ;; |
12 |
> + *) _modules_optional_use_iuse_default='' ;; |
13 |
> +esac |
14 |
|
15 |
I missed this the first time around, but the case statement needs to |
16 |
catch "on", too. |