[PATCH 3/4] ncurses: Skip terminfo database install on host

Charlie Jenkins thecharlesjenkins at gmail.com
Fri Aug 14 20:02:20 PDT 2026


Since the introduction of the host package for ncurses, it has attempted
to install terminfo files directly into the build machine's /usr/lib.
When not root, this silently fails to install. On ncurses versions after
v6_4_20230708, ncurses fails to install instead of silently failing.
Remove the host terminfo database installation to avoid this unexpected
behavior.

Signed-off-by: Charlie Jenkins <thecharlesjenkins at gmail.com>
---
 package/libs/ncurses/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/libs/ncurses/Makefile b/package/libs/ncurses/Makefile
index 01e721fcec..a7a0341c25 100644
--- a/package/libs/ncurses/Makefile
+++ b/package/libs/ncurses/Makefile
@@ -97,7 +97,8 @@ HOST_CONFIGURE_ARGS += \
 	--without-manpages \
 	--without-profile \
 	--without-tests \
-	--without-curses-h
+	--without-curses-h \
+	--disable-db-install
 
 
 ifeq ($(HOST_OS),FreeBSD)

-- 
2.55.0




More information about the openwrt-devel mailing list