On Sun, Oct 2, 2016 at 12:34 AM, Dan Douglas <orm...@gmail.com> wrote: > I'd be perfectly happy requiring bundled readline when USE="readline" > for bash versions incompatible with the installed readline,
I guess that's another good way to solve the readline issue (when it comes to bash). But I'd prefer that it's not done automatically. Instead we should add a formal use flag like 'installed-readline'. We can add it to release versions of bash ([[ ${PV} != *_rc* ]] && IUSE+=' +installed-readline'), and enable it by default. Then we change all `[[ ${PV} != *_rc* ]]` condition checks to `[[ ${PV} != *_rc* ]] && use installed-readline`. `${PV} != *_rc*` probably should also be `${PV} != *_alpha* && ${PV} != *_beta* && ${PV} != *_rc*`. (See attached file for POC.) > or simply depending on USE="-readline" for those versions. > I rarely if ever use > interactive mode with anything other than my system default /bin/bash. I do, though. My application uses `read -e`. (That's not interactive mode I know, but it still uses readline.) -- konsolebox
bash-4.4.ebuild
Description: Binary data