dev-util/cunit with ncurses support only links curses into the static library. When that isn't available, havoc ensues. This should be fixed in cunit, of course.