bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

@TERMINFO_DIRS@ not correctly substituted in manpages


From: Sven Joachim
Subject: @TERMINFO_DIRS@ not correctly substituted in manpages
Date: Wed, 26 Jul 2023 18:19:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

When configuring "--with-terminfo-dirs=/this:/and/that", the manpages
for (at least) tic(1), terminfo(5) and ncurses(3) have "no default
value" substituted into them instead of the directory list, which I
recently noticed in Debian.

,----
| $ man 5 terminfo | grep -C2 "no default value"
|        •   Finally, ncurses searches these compiled-in locations:
| 
|            •   a list of directories (no default value), and
| 
|            •   the system terminfo directory, /etc/terminfo (the compiled-in 
default).
`----

The attached patch (and regenerating configure) fixes that. :-)

Cheers,
       Sven

diff --git a/aclocal.m4 b/aclocal.m4
index 451a527c..785b7019 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -5954,6 +5954,7 @@ NCURSES_PATCH="$NCURSES_PATCH"

 NCURSES_OSPEED="$NCURSES_OSPEED"
 TERMINFO="$TERMINFO"
+TERMINFO_DIRS="$TERMINFO_DIRS"

 INSTALL="$INSTALL"
 INSTALL_DATA="$INSTALL_DATA"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]