aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/blast.rb2
-rw-r--r--Library/Formula/yasm.rb6
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