aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/cmu-sphinxbase.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2013-07-31 22:16:42 -0700
committerAdam Vandenberg2013-08-01 09:32:06 -0700
commit819f972a5d52e163392c53965567f7c3ece93f99 (patch)
tree274a57c69d9480c9b0426d438b4d4f31c0f77dd6 /Library/Formula/cmu-sphinxbase.rb
parent6ef47ecf94c17023e111294d9558b58555f773ea (diff)
downloadhomebrew-819f972a5d52e163392c53965567f7c3ece93f99.tar.bz2
cmu-sphinxbase: superenv filters out unwanted flags
add standard python caveats
Diffstat (limited to 'Library/Formula/cmu-sphinxbase.rb')
-rw-r--r--Library/Formula/cmu-sphinxbase.rb22
1 files changed, 4 insertions, 18 deletions
diff --git a/Library/Formula/cmu-sphinxbase.rb b/Library/Formula/cmu-sphinxbase.rb
index d3127b1e9..6785cd706 100644
--- a/Library/Formula/cmu-sphinxbase.rb
+++ b/Library/Formula/cmu-sphinxbase.rb
@@ -1,22 +1,5 @@
require 'formula'
-class NoPpcPython < Requirement
- fatal true
-
- satisfy(:build_env => false) do
- !archs_for_command('python').ppc?
- end
-
- 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
- mis-match. This formula is known to work against a Homebrewed Python.
-
- Patches to correct this issue are welcome.
- EOS
- end
-end
-
class CmuSphinxbase < Formula
homepage 'http://cmusphinx.sourceforge.net/'
url 'http://downloads.sourceforge.net/project/cmusphinx/sphinxbase/0.8/sphinxbase-0.8.tar.gz'
@@ -24,7 +7,6 @@ class CmuSphinxbase < Formula
depends_on 'pkg-config' => :build
depends_on :python
- depends_on NoPpcPython
depends_on 'libsndfile' => :optional
depends_on 'libsamplerate' => :optional
@@ -34,4 +16,8 @@ class CmuSphinxbase < Formula
"--prefix=#{prefix}"
system "make install"
end
+
+ def caveats
+ python.standard_caveats
+ end
end