I used this approach and was successful :Installed gmake & autoconf from /usr/ports (to satisfy the dependencies)Then installed pgsql 7.1.2 from src without any problems.
Versions :GNU Make version 3.79.1autoconf-2.13
I hope that helps.
Roby