Upgrade Yosemite
github.com
github.com
It requires several hours if you have a lot of files in /usr/local. If you move all your files from there to someplace under your home directory first, the upgrade takes under an hour. Yosemite doesn't put anything in /usr/local, so you can move the files back afterwards with no fear of stomping on anything.