On Sun, 2 Oct 2016 13:28:04 +0800
konsolebox <konsole...@gmail.com> wrote:

> 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.)

Conventionally, it would be better to have IUSE=" +system-readline"

Though I'd probably opt for 

IUSE=" system-readline" 

As the default for development versions.


   if [[ ${PV} != *_rc* ]]; then
      IUSE+=" system-readline"
   else;
      IUSE+=" +system-readline"
   fi

Attachment: pgpK86gxRJ3s1.pgp
Description: OpenPGP digital signature

Reply via email to