aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-01-26 11:57:17 -0600
committerJack Nagel2013-01-26 12:28:56 -0600
commit8755c695c323c83f23b3e63bbfcab2ac9896d0fb (patch)
tree1e553152a761728308749701add8a1f85b0790f3 /Library
parent8899d9075eacd9adb20560303cd421f8e72f7d72 (diff)
downloadhomebrew-8755c695c323c83f23b3e63bbfcab2ac9896d0fb.tar.bz2
vtk: use current tab API
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/vtk.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/vtk.rb b/Library/Formula/vtk.rb
index c55de372e..81b492538 100644
--- a/Library/Formula/vtk.rb
+++ b/Library/Formula/vtk.rb
@@ -101,7 +101,7 @@ class Vtk < Formula
def caveats
s = ''
vtk = Tab.for_formula 'vtk'
- if build.include? 'python' or vtk.installed_with? 'python'
+ if build.include? 'python' or vtk.include? 'python'
s += <<-EOS.undent
For non-homebrew Python, you need to amend your PYTHONPATH like so:
export PYTHONPATH=#{HOMEBREW_PREFIX}/lib/#{which_python}/site-packages:$PYTHONPATH
@@ -113,7 +113,7 @@ class Vtk < Formula
EOS
end
- if build.include? 'examples' or vtk.installed_with? '--examples'
+ if build.include? 'examples' or vtk.include? 'examples'
s += <<-EOS.undent
The scripting examples are stored in #{HOMEBREW_PREFIX}/share/vtk