commit: d2ccfa6c9af38d82d01fe63a73faa4f14a7ba18e
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 21 23:49:39 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 21 23:49:39 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2ccfa6c
app-shells/bash: use system readline 8.2_alpha for 5.2_alpha
Added a note to tidy up the logic in future too.
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-shells/bash/bash-5.2_alpha.ebuild | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/app-shells/bash/bash-5.2_alpha.ebuild
b/app-shells/bash/bash-5.2_alpha.ebuild
index 61a2aecd2b7c..99181307ddc7 100644
--- a/app-shells/bash/bash-5.2_alpha.ebuild
+++ b/app-shells/bash/bash-5.2_alpha.ebuild
@@ -3,6 +3,12 @@
EAPI=7
+# TODO on release:
+# - check READLINE_VER, obviously
+# - remove autotools/eautoreconf from readline ebuild
+# - tidy up is_release check in this ebuild for using system readline
+# (presumably there weren't always readline releases for bash RCs etc)
+
inherit flag-o-matic toolchain-funcs prefix
# Official patchlevel
@@ -154,7 +160,8 @@ src_configure() {
# is at least what's in the DEPEND up above.
export ac_cv_rl_version=${READLINE_VER%%_*}
- if is_release ; then
+ # TODO: Clean this up before 5.2 release
+ if [[ ${PV} == 5.2_alpha ]] || is_release ; then
# Use system readline only with released versions.
myconf+=( --with-installed-readline=. )
fi