aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/clasp.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/clasp.rb')
-rw-r--r--Library/Formula/clasp.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Formula/clasp.rb b/Library/Formula/clasp.rb
index c020c2981..ff6b58ece 100644
--- a/Library/Formula/clasp.rb
+++ b/Library/Formula/clasp.rb
@@ -7,10 +7,10 @@ class Clasp < Formula
option 'with-mt', 'Enable multi-thread support'
- depends_on 'tbb' if build.include? 'with-mt'
+ depends_on 'tbb' if build.with? "mt"
def install
- if build.include? 'with-mt'
+ if build.with? "mt"
ENV['TBB30_INSTALL_DIR'] = Formula["tbb"].opt_prefix
build_dir = 'build/release_mt'
else
@@ -21,7 +21,7 @@ class Clasp < Formula
--config=release
--prefix=#{prefix}
]
- args << "--with-mt" if build.include? 'with-mt'
+ args << "--with-mt" if build.with? "mt"
bin.mkpath
system "./configure.sh", *args