aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/weechat.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/weechat.rb')
-rw-r--r--Library/Formula/weechat.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/Library/Formula/weechat.rb b/Library/Formula/weechat.rb
index 0ad48711d..ef119c3a9 100644
--- a/Library/Formula/weechat.rb
+++ b/Library/Formula/weechat.rb
@@ -29,12 +29,12 @@ class Weechat < Formula
-DPREFIX=#{prefix}
-DENABLE_GTK=OFF
]
- args << '-DENABLE_LUA=OFF' unless build.with? 'lua'
- args << '-DENABLE_PERL=OFF' unless build.with? 'perl'
- args << '-DENABLE_RUBY=OFF' unless build.with? 'ruby'
- args << '-DENABLE_ASPELL=OFF' unless build.with? 'aspell'
- args << '-DENABLE_GUILE=OFF' unless build.with? 'guile'
- args << '-DENABLE_PYTHON=OFF' unless build.with? 'python'
+ args << '-DENABLE_LUA=OFF' if build.without? 'lua'
+ args << '-DENABLE_PERL=OFF' if build.without? 'perl'
+ args << '-DENABLE_RUBY=OFF' if build.without? 'ruby'
+ args << '-DENABLE_ASPELL=OFF' if build.without? 'aspell'
+ args << '-DENABLE_GUILE=OFF' if build.without? 'guile'
+ args << '-DENABLE_PYTHON=OFF' if build.without? 'python'
# NLS/gettext support disabled for now since it doesn't work in stdenv
# see https://github.com/Homebrew/homebrew/issues/18722