Homebrew/homebrew-dupes — pull request #116 by manphiz (2012-11-08 23:54:16+00:00)
Title: More tweaks for GCC

* Use ENV['HOMEBREW_PREFIX'] as prefix for external libraries, as all
of them are not keg-only and pointers to Cellar prefix will break
once they upgrade.
* Use #{prefix}/gcc-#{major.minor} as the install prefix so that
different version of GCC doesn't interfere with each other.