mxcl/homebrew — pull request #10464 by camillol (2012-02-25 09:33:49+00:00)
Title: removing libiconv duplicate

libiconv ships with OS X. A few build scripts have/used to have trouble detecting it correctly, so it was added as a formula. Then some other formulas, seeing that it was there, started using it as a dependency, even though they are capable of using the system libiconv.

The first commit patches all formulas that currently `depend_on 'libiconv'` to use the system iconv instead. All build on my machine; not all were tested thoroughly at runtime, but since the system iconv *is* GNU libiconv (check `/usr/include/iconv.h`), I don't expect programs to notice any difference once you get them to link with it.

The second commit removes the `libiconv` formula and blacklists it as a duplicate, otherwise spurious dependencies are bound to keep popping up. The formula should me moved to the homebrew-alt duplicates branch, imho.