Thomas Adam (fvwm3 mantainer) recently merged support for NetBSD in
the portable version of got (Game of Trees) 0.67 VCS. Previously, the only way of deploying got on NetBSD was the pkgsrc port of the OpenBSD
version, which required non-negligible downstream patching and was still, as of today, stuck at v. 0.48.
This commit fixes some things preventing got-portable from compiling on
netbsd, like checking for panelw in the gnu/ncursesw libraries, and
properly linking against openbsd-compat.