mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-20 01:26:38 +02:00
ncurses-dev depends recursively on ncurses-terminfo-base, which has terminfo files in /etc/terminfo. But slang only looks for terminfo files in /usr/{lib,share}/terminfo. When that's not found, it determins it must link against termcap (adds `-ltermcap` to linker flags), which cannot be found and breaks the build. Patch configure to look for terminfo in /etc/terminfo to fix the build.
16 lines
470 B
Diff
16 lines
470 B
Diff
Upstream: no
|
|
Reason: ncurses-terminfo-base puts terminfo in /etc, which is not inspected.
|
|
When terminfo is not found, it tries link against termcap, which is also not
|
|
present
|
|
Url: n/a
|
|
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -7021,6 +7021,7 @@
|
|
MISC_TERMINFO_DIRS=""
|
|
fi
|
|
JD_Terminfo_Dirs="$MISC_TERMINFO_DIRS \
|
|
+ /etc/terminfo \
|
|
/usr/lib/terminfo \
|
|
/usr/share/terminfo \
|
|
/usr/share/lib/terminfo \
|