This issue might be because I have Homebrew setup weird on my machine, but here is what I'm seeing.
I have homebrew git-cloned into ~/homebrew.
I think have ~/homebrew/bin/brew linked to /usr/local/bin and Library and Cellar linked to /usr/local.
After the recent brew changes, when I "ln" a brew, the resulting executables are now linked into ~/homebrew/bin instead of /usr/local/bin
This is definitely a change from the previous behavior, as before things "just worked" and now they don't.
Personally I don't think homebrew should expect to be installed directly into /usr/local, (because I don't want to have a /usr/local/.git) but I don't know if you care to support my kind of linked alternate setup.
Probably the "realpath" part here is causing the problem for me, I want the apparent path (symlink) not the real path.
Working after most recent commits, thanks.
Yeah I definately want to support your setup. I originally had it setup just like you do, so certainly to start with I was very careful to make sure everything used relative paths and that. So tell me if it breaks again. I'll try to make a test for this.
New formula: libpng12
[jn: install test files to libexec and use mktemp; style nits]
Signed-off-by: Jack Nagel <firstname.lastname@example.org>