FixesHomebrew/homebrew#10559.
Also added missing deps for osm2pgsql.
Removed some ACLOCAL_FLAGS stuff as in theory this is not set in ENV.rb. Would like to see if it causes trouble. Should just work now.
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews