aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/cmu-sphinxbase.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/cmu-sphinxbase.rb')
-rw-r--r--Library/Formula/cmu-sphinxbase.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Formula/cmu-sphinxbase.rb b/Library/Formula/cmu-sphinxbase.rb
index 2258fb646..161586403 100644
--- a/Library/Formula/cmu-sphinxbase.rb
+++ b/Library/Formula/cmu-sphinxbase.rb
@@ -3,6 +3,8 @@ require 'formula'
class HomebrewedPython < Requirement
fatal true
+ satisfy(:build_env => false) { Formula.factory('python').installed? }
+
def message; <<-EOS.undent
Compiling against the system-provided Python will likely fail.
The system-provided Python includes PPC support, which will cause a compiler
@@ -11,9 +13,6 @@ class HomebrewedPython < Requirement
Patches to correct this issue are welcome.
EOS
end
- def satisfied?
- Formula.factory('python').installed?
- end
end
class CmuSphinxbase < Formula