aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/cmu-sphinxbase.rb
diff options
context:
space:
mode:
authorJack Nagel2013-01-19 20:45:59 -0600
committerJack Nagel2013-01-21 17:36:34 -0600
commit3ad7174f7d3cad94a67338b404fdc220fd2f2e8e (patch)
tree1ad337f60b86a951544ffce6e1b9fa2d8eb0e707 /Library/Formula/cmu-sphinxbase.rb
parentb48e89cbb2a14a935626c64f5e19044bc2b08d85 (diff)
downloadhomebrew-3ad7174f7d3cad94a67338b404fdc220fd2f2e8e.tar.bz2
Use new requirement syntax
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