Search /etc/terminfo where Alpine Linux installs a few of its terminfo files

--- a/configure
+++ b/configure
@@ -8561,6 +8561,7 @@
    MISC_TERMINFO_DIRS=""
 fi
 JD_Terminfo_Dirs="$MISC_TERMINFO_DIRS \
+                  /etc/terminfo \
                   /usr/lib/terminfo \
                   /usr/share/terminfo \
                   /usr/share/lib/terminfo \
