Lines 1669-1671
Link Here
|
1669 |
newbin "${tmpwrapper}" "${wrapper}" |
1669 |
newbin "${tmpwrapper}" "${wrapper}" |
1670 |
fi |
1670 |
fi |
1671 |
} |
1671 |
} |
|
|
1672 |
|
1673 |
# iuse_expand |
1674 |
# |
1675 |
# Grab all IUSE_* variables from the environment, automatically expand them, |
1676 |
# and add them to IUSE. The IUSE_* variable names should end with the name |
1677 |
# of a USE_EXPAND variable such as VIDEO_CARDS. |
1678 |
iuse_expand() |
1679 |
local exp_var exp_var_prefix exp_var_val |
1680 |
for exp_var in ${!IUSE_*}; do |
1681 |
exp_var_prefix="$(echo ${exp_var/IUSE_/} | tr '[A-Z]' '[a-z]')_" |
1682 |
for exp_var_val in ${!exp_var}; do |
1683 |
IUSE="${IUSE} ${exp_var_prefix}${exp_var_val}" |
1684 |
done |
1685 |
done |