diff options
| author | Mike McQuaid | 2014-01-04 13:10:08 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-01-04 13:35:48 +0000 |
| commit | cebba2699409f67c1f456b353089806885d7ff58 (patch) | |
| tree | 8cfb027bff0578fa420cc017b86dd0435aaa247f /Library/Formula | |
| parent | 43b22f4745de5b42856c622aeb2e658cdbf28925 (diff) | |
| download | homebrew-cebba2699409f67c1f456b353089806885d7ff58.tar.bz2 | |
xapian: cleanup python usage.
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 |
