aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorTim D. Smith2014-10-10 14:55:45 -0700
committerTim D. Smith2014-10-10 17:03:30 -0700
commita1f4e9dc732d546f737cf6bd6750dc991025fdd1 (patch)
tree37d6ead711c74923a134e4583154d8b71fa7c2b7 /Library/Formula
parent2b38b4906aaa84a6e1dc39379cc98022c46c81d1 (diff)
downloadhomebrew-a1f4e9dc732d546f737cf6bd6750dc991025fdd1.tar.bz2
xapian: fix python bindings with system Python
Closes #33085. Fixes #33082.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/xapian.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/xapian.rb b/Library/Formula/xapian.rb
index da81db43f..2db493a0e 100644
--- a/Library/Formula/xapian.rb
+++ b/Library/Formula/xapian.rb
@@ -54,6 +54,8 @@ class Xapian < Formula
if build.with? 'python'
(lib+'python2.7/site-packages').mkpath
ENV['PYTHON_LIB'] = lib+'python2.7/site-packages'
+ # configure looks for python2 and system python doesn't install one
+ ENV["PYTHON"] = which "python"
args << "--with-python"
else
args << "--without-python"