diff options
| author | Jack Nagel | 2012-08-13 15:46:38 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-08-13 15:46:38 -0500 |
| commit | 8f626e696fc807c65c5a14e04f266c32a5cbc53a (patch) | |
| tree | d9044b34ee0afdfe95dceb4b91bed03d93ec306e /Library | |
| parent | 3b08f8b4f889300c6c173d2f490bc0491887bcb7 (diff) | |
| download | homebrew-8f626e696fc807c65c5a14e04f266c32a5cbc53a.tar.bz2 | |
Fix build.include? usage
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/blast.rb | 2 | ||||
| -rw-r--r-- | Library/Formula/yasm.rb | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Library/Formula/blast.rb b/Library/Formula/blast.rb index 95205cde0..bc2227da1 100644 --- a/Library/Formula/blast.rb +++ b/Library/Formula/blast.rb @@ -20,7 +20,7 @@ class Blast < Formula def install args = ["--prefix=#{prefix}"] - args << "--with-dll" if build.include? '--with-dll' + args << "--with-dll" if build.include? 'with-dll' cd 'c++' do system "./configure", *args diff --git a/Library/Formula/yasm.rb b/Library/Formula/yasm.rb index ef3a16d36..3751418b7 100644 --- a/Library/Formula/yasm.rb +++ b/Library/Formula/yasm.rb @@ -14,7 +14,7 @@ class Yasm < Formula depends_on :automake end - depends_on 'Cython' => :python if build.include? '--enable-python' + depends_on 'Cython' => :python if build.include? 'enable-python' def install args = %W[ @@ -22,7 +22,7 @@ class Yasm < Formula --prefix=#{prefix} ] - if build.include? '--enable-python' + if build.include? 'enable-python' args << '--enable-python' args << '--enable-python-bindings' end @@ -36,7 +36,7 @@ class Yasm < Formula end def caveats - if build.include? '--enable-python' then <<-EOS.undent + if build.include? 'enable-python' then <<-EOS.undent Python bindings installed to: #{HOMEBREW_PREFIX}/lib/#{which_python}/site-packages |
