aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/blast.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2012-08-08 22:16:23 -0700
committerAdam Vandenberg2012-08-08 22:27:29 -0700
commitbaef71eed6058d43d7fcd7a73b0d17cf2d14c55e (patch)
treef647f25823ed1b7e096e8a3669d9f6ada40bb3de /Library/Formula/blast.rb
parent1b0befce9b3b62a8bdf477827bddb767e861a84e (diff)
downloadhomebrew-baef71eed6058d43d7fcd7a73b0d17cf2d14c55e.tar.bz2
blast: use options dsl
Diffstat (limited to 'Library/Formula/blast.rb')
-rw-r--r--Library/Formula/blast.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/blast.rb b/Library/Formula/blast.rb
index 2c90fd407..95205cde0 100644
--- a/Library/Formula/blast.rb
+++ b/Library/Formula/blast.rb
@@ -10,9 +10,7 @@ class Blast < Formula
build 421
end
- def options
- [['--with-dll', "Create dynamic binaries instead of static"]]
- end
+ option 'with-dll', "Create dynamic binaries instead of static"
# fixes to 2.2.25 acknowledged upstream by Aaron U. per email
# inform configure about -Os
@@ -22,7 +20,7 @@ class Blast < Formula
def install
args = ["--prefix=#{prefix}"]
- args << "--with-dll" if ARGV.include? '--with-dll'
+ args << "--with-dll" if build.include? '--with-dll'
cd 'c++' do
system "./configure", *args