brew/Library/Homebrew/blacklist.rb
Camillo Lugaresi c59be1a930 Remove libiconv duplicate
Commit ee2c3ab ("Remove spurious libiconv dependencies") pruned all
existing "depends_on 'libiconv'" usages from Homebrew in preparation for
removing the libiconv dupe itself.

Now that is done, and we can remove and blacklist it. It can be obtained
from Homebrew-alt.

Closes Homebrew/homebrew#10464.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-13 19:38:17 -05:00

65 lines
2.3 KiB
Ruby

def blacklisted? name
case name.downcase
when /^vim?$/, 'screen', /^rubygems?$/ then <<-EOS.undent
Apple distributes #{name} with OS X, you can find it in /usr/bin.
EOS
when 'libarchive', 'libpcap' then <<-EOS.undent
Apple distributes #{name} with OS X, you can find it in /usr/lib.
EOS
when 'libiconv' then <<-EOS.undent
Apple distributes #{name} with OS X, you can find it in /usr/lib.
Some build scripts fail to detect it correctly, please check existing
formulae for solutions.
EOS
when 'libxml', 'libxlst' then <<-EOS.undent
Apple distributes #{name} with OS X, you can find it in /usr/lib.
However not all build scripts look for these hard enough, so you may need
to call ENV.libxml2 in your formula's install function.
EOS
when 'freetype', 'libpng' then <<-EOS.undent
Apple distributes #{name} with OS X, you can find it in /usr/X11/lib.
However not all build scripts look here, so you may need to call ENV.x11
in your formula's install function.
EOS
when 'wxwidgets' then <<-EOS.undent
An old version of wxWidgets can be found in /usr/X11/lib. However, Homebrew
does provide a newer version, 2.8.10:
brew install wxmac
EOS
when 'tex', 'tex-live', 'texlive' then <<-EOS.undent
Installing TeX from source is weird and gross, requires a lot of patches,
and only builds 32-bit (and thus can't use Homebrew deps on Snow Leopard.)
We recommend using a MacTeX distribution: http://www.tug.org/mactex/
EOS
when 'pip' then <<-EOS.undent
Install pip with easy_install:
easy_install pip
EOS
when 'macruby' then <<-EOS.undent
MacRuby works better when you install their package:
http://www.macruby.org/downloads.html
Although if you prefer, there is a formula in homebrew-alt.
EOS
when 'npm' then <<-EOS.undent
npm can be installed thusly by following the instructions at
http://npmjs.org/
To do it in one line, use this command:
curl http://npmjs.org/install.sh | sh
EOS
when /(lib)?lzma/
"lzma is now part of the xz formula."
when 'xcode' then <<-EOS.undent
Xcode can be installed via the App Store (on Lion), or from:
http://connect.apple.com/
If you download from the App Store, make sure you run the installer
placed in /Applications after the download completes.
EOS
end
end