Skip to content

netbsd-curses

  • Most packages set -lcurses; when things break add -lterminfo to LIBS
  • Only link against terminfo without curses when possible; oksh and bash only rely on terminfo?
  • Some packages link against libtinfo (e.g. util-linux and yash); check if netbsd-curses now provides libtinfo by default?
  • Sabotage does not add a libtinfo symlink to either libncurses or libterminfo and recommends using LDFLAGS="-lcurses -lterminfo" ./configure instead
  • Attempts to run cross-compiled tic (and nbperf) on the build system:
    • unset HOSTCC; does not work if host clang is being used with --target and --sysroot to cross-compile the rest of netbsd-curses
    • or set HOSTCC=gcc if you are using clang and the host is using gcc; easiest as host gcc is not a cross-compiler by default
    • or remove --target and --sysroot from CFLAGS if using host clang