bash: Fix build

This commit is contained in:
2026-05-26 23:55:28 +02:00
parent 3253dfe87b
commit fc97bc4bb2
4 changed files with 75 additions and 13 deletions
+5 -5
View File
@@ -1,19 +1,19 @@
version = "8.2"
version = "8.3"
revision = 1
description = "Library for command-line editing"
license = "GPL-3.0-or-later"
url = "https://tiswww.case.edu/php/chet/readline/rltop.html"
source = tarball(
url=f"https://ftp.gnu.org/gnu/readline/readline-{version}.tar.gz",
sha256="3feb7171f16a84ee82ca18a36d7b9be109a52c04f492a053331d7d1095007c35",
sha256="fe5383204467828cd495ee8d1d3c037a7eba1389c22bc6a041f627976f9061cc",
)
host_deps = ["autoconf", "automake", "binutils", "gcc"]
deps = [profile["libc"], "ncurses"]
configure, build, _ = autotools(
configure_args=["--with-curses"],
# Force linking against system ncurses, not readline's internal termcap stub.
configure_env={"bash_cv_termcap_lib": "ncursesw"},
configure_args=["--with-curses", "--with-shared-termcap-library"],
# Force linking against system terminfo, not readline's internal termcap stub.
configure_env={"bash_cv_termcap_lib": "libtinfo"},
)