netbsd-curses
- Most packages set
-lcurses; when things break add-lterminfotoLIBS - Only link against
terminfowithoutcurseswhen possible;okshandbashonly rely onterminfo? - Some packages link against
libtinfo(e.g.util-linuxandyash); check ifnetbsd-cursesnow provideslibtinfoby default? - Sabotage does not add a
libtinfosymlink to eitherlibncursesorlibterminfoand recommends usingLDFLAGS="-lcurses -lterminfo" ./configureinstead - Attempts to run cross-compiled
tic(andnbperf) on the build system:- unset
HOSTCC; does not work if hostclangis being used with--targetand--sysrootto cross-compile the rest ofnetbsd-curses - or set
HOSTCC=gccif you are usingclangand the host is usinggcc; easiest as hostgccis not a cross-compiler by default - or remove
--targetand--sysrootfromCFLAGSif using hostclang
- unset
References
Section titled “References”- https://github.com/sabotage-linux/netbsd-curses/commit/5874f9b1ced9c29d7d590d95e254b252f657a160.patch
- https://github.com/sabotage-linux/netbsd-curses/issues/39
- https://implementality.blogspot.com/2020/04/thomas-e-dickey-on-netbsd-curses.html
- https://invisible-island.net/ncurses/ncurses-netbsd.html
- https://lists.alpinelinux.org/~alpine/devel/%3Ce12847f2-4cea-c3e8-84c3-e98b92553f8e%40dereferenced.org%3E
- https://lists.sr.ht/~carbslinux/carbslinux-devel/%3CGVXP194MB17585EDB2DCA129AC12A51F7977E9%40GVXP194MB1758.EURP194.PROD.OUTLOOK.COM%3E