Hello,
the build of the git repository fails on NetBSD 6.1.5:
$ make
make all-am
g++ -g -O2 -o grn src/preproc/grn/hdb.o src/preproc/grn/hpoint.o
src/preproc/grn/hgraph.o src/preproc/grn/main.o lib/libgnu.a libgroff.a -lm
libgroff.a(libgroff_a-font.o): In function `font::get_width(glyph*, int)':
/home/carsten/work/download/computer/software/unix/roff/groff/groff/src/libs/libgroff/font.cpp:386:
undefined reference to `rpl_wcwidth'
libgroff.a(libgroff_a-font.o): In function `font::load(int*, int)':
/home/carsten/work/download/computer/software/unix/roff/groff/groff/src/libs/libgroff/font.cpp:964:
undefined reference to `rpl_wcwidth'
*** Error code 1
I did install autoconf, automake, libtool, then ./bootstrap, ./configure, make.
./configure did not complain.
$ g++ --version
g++ (NetBSD nb2 20110806) 4.5.3