With some guidance from the FreeBSD port how to wrangle the incoherent autotool files into buildable shape.