update configure script and stuff

also update bootstrap script, simplify gitignore, and apply patch that
MacPorts applies