diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/xapian.rb | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Library/Formula/xapian.rb b/Library/Formula/xapian.rb index cb3b1bc58..6fc997397 100644 --- a/Library/Formula/xapian.rb +++ b/Library/Formula/xapian.rb @@ -52,7 +52,8 @@ class Xapian < Formula end if build.with? 'python' - ENV['PYTHON_LIB'] = python.site_packages + (lib+'python2.7/site-packages').mkpath + ENV['PYTHON_LIB'] = lib+'python2.7/site-packages' args << "--with-python" else args << "--without-python" @@ -71,16 +72,12 @@ class Xapian < Formula end def caveats - s = '' - s += python.standard_caveats if python if build.include? 'ruby' - s += <<-EOS.undent + <<-EOS.undent You may need to add the Ruby bindings to your RUBYLIB from: #{HOMEBREW_PREFIX}/lib/ruby/site_ruby EOS end - return s.empty? ? nil : s end - end |
