2010-11-14 03:52:59 +00:00
|
|
|
def blacklisted? name
|
|
|
|
case name.downcase
|
2012-03-07 14:53:41 +01:00
|
|
|
when /^vim?$/, 'screen', /^rubygems?$/ then <<-EOS.undent
|
2010-11-14 03:52:59 +00:00
|
|
|
Apple distributes #{name} with OS X, you can find it in /usr/bin.
|
|
|
|
EOS
|
2011-05-30 10:48:10 +08:00
|
|
|
when 'libarchive', 'libpcap' then <<-EOS.undent
|
2010-11-14 03:52:59 +00:00
|
|
|
Apple distributes #{name} with OS X, you can find it in /usr/lib.
|
|
|
|
EOS
|
2012-02-25 03:25:43 -06:00
|
|
|
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
|
2011-05-30 10:48:10 +08:00
|
|
|
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
|
2012-10-11 12:47:14 +02:00
|
|
|
when 'wxpython' then <<-EOS.undent
|
|
|
|
The Python bindings (import wx) for wxWidgets are installed by:
|
|
|
|
brew install wxwidgets
|
2010-11-14 03:52:59 +00:00
|
|
|
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
|
2011-04-10 17:15:02 -04:00
|
|
|
when 'pip' then <<-EOS.undent
|
2012-10-02 15:00:09 +02:00
|
|
|
pip is installed by `brew install python`
|
2010-11-14 03:52:59 +00:00
|
|
|
EOS
|
2011-08-19 16:01:39 +01:00
|
|
|
when 'macruby' then <<-EOS.undent
|
|
|
|
MacRuby works better when you install their package:
|
2012-07-20 13:27:49 +08:00
|
|
|
http://www.macruby.org/
|
2010-11-14 03:52:59 +00:00
|
|
|
EOS
|
2011-08-31 13:02:23 +01:00
|
|
|
when /(lib)?lzma/
|
|
|
|
"lzma is now part of the xz formula."
|
2011-10-13 21:56:49 -05:00
|
|
|
when 'xcode' then <<-EOS.undent
|
2012-06-15 09:25:23 -05:00
|
|
|
Xcode can be installed via the App Store (on Lion or newer), or from:
|
2011-10-13 21:56:49 -05:00
|
|
|
http://connect.apple.com/
|
|
|
|
EOS
|
2010-11-14 03:52:59 +00:00
|
|
|
end
|
|
|
|
end
|