diff options
| author | Pierce Lopez | 2014-12-23 16:05:57 -0500 |
|---|---|---|
| committer | Tim D. Smith | 2014-12-24 11:39:39 -0500 |
| commit | 186fa80eea2672ff88c24a2662a03205349830a2 (patch) | |
| tree | f225ac0d17a268deb9a08a223402869e1e77df6b /Library/Formula/pygobject3.rb | |
| parent | 74c50dd2a853114eb754617ae70e899ab93242b4 (diff) | |
| download | homebrew-186fa80eea2672ff88c24a2662a03205349830a2.tar.bz2 | |
pygobject3: fix install for osx-included python
PYTHON env var would not be set for python2 if python2 was not installed
from homebrew
Closes #35220.
Signed-off-by: Tim D. Smith <git@tim-smith.us>
Diffstat (limited to 'Library/Formula/pygobject3.rb')
| -rw-r--r-- | Library/Formula/pygobject3.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Formula/pygobject3.rb b/Library/Formula/pygobject3.rb index f3b3f30fd..df5f69f99 100644 --- a/Library/Formula/pygobject3.rb +++ b/Library/Formula/pygobject3.rb @@ -45,8 +45,7 @@ class Pygobject3 < Formula end Language::Python.each_python(build) do |python, version| - ENV["PYTHON"] = "#{python}" if Formula[python].installed? - system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" + system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", "PYTHON=#{python}" system "make", "install" system "make", "check" if build.with? 'tests' system "make", "clean" |
