Patch autogen.sh so that it uses the autotools based on
environment variables set by bsd.port.mk, instead of hardcoding them.
Pass AUTOTOOLS_ENV environment when invoking to autogen.sh
Remove unnecessary lines.