mxcl/homebrew — pull request #14143 by sparks (2012-08-12 20:41:32+00:00)
Title: fmdiff: use make file and correct broken symlink

Run make in order to properly detect which version of XCode is installed

Run make install instead of bin.install

Correctly generate the filemerge symlink in /usr/local/bin. Without a
direct symlink fmdiff simply crash. Users may not have had this issue if
fmdiff was previously installed since they already had the symlink

I'm directly creating a symlink in /usr/local/bin. If someone has a better suggestion of how to do this I will happily amend my commit. The issue is that the normal linking process creates two layers of symlinks which causes the fmdiff scripts to fail when using readlink on the second layer symlink.