aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/thrift.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/thrift.rb')
-rw-r--r--Library/Formula/thrift.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/Library/Formula/thrift.rb b/Library/Formula/thrift.rb
index a3a2d6032..a426133be 100644
--- a/Library/Formula/thrift.rb
+++ b/Library/Formula/thrift.rb
@@ -49,12 +49,12 @@ class Thrift < Formula
exclusions = ["--without-ruby", "--without-tests", "--without-php_extension"]
- exclusions << "--without-python" unless build.with? "python"
- exclusions << "--without-haskell" unless build.include? "with-haskell"
- exclusions << "--without-java" unless build.include? "with-java"
- exclusions << "--without-perl" unless build.include? "with-perl"
- exclusions << "--without-php" unless build.include? "with-php"
- exclusions << "--without-erlang" unless build.include? "with-erlang"
+ exclusions << "--without-python" if build.without? "python"
+ exclusions << "--without-haskell" if build.without? "haskell"
+ exclusions << "--without-java" if build.without? "java"
+ exclusions << "--without-perl" if build.without? "perl"
+ exclusions << "--without-php" if build.without? "php"
+ exclusions << "--without-erlang" if build.without? "erlang"
ENV.cxx11 if MacOS.version >= :mavericks && ENV.compiler == :clang