use other, better ones from pkgsrc through ncursesw/buildlink3.mk.
+ Add a configure script that lightly probes the system and write out
some system-specific definitions for the Makefile.
This should fix PR pkg/29425.
+ Add necessary includes (<string.h> and <unistd.h>) to global.h to do
silly C things like prototype functions before you use them. Remove
the unnecessary patches to lots of *.c files that added these same
headers.
+ Include <string.h> in ss.c because it doesn't include global.h.
+ Move HTML documentation into ${PREFIX}/share/doc.
Bump the PKGREVISION to 2.