diff options
| author | Mike McQuaid | 2014-01-04 13:17:51 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-01-04 13:35:48 +0000 |
| commit | 4c58bb6b1686c82f96a92525ac3ee2b63c103653 (patch) | |
| tree | a8cfd4bc9112874d380463a284dda7bdd3c7ac4d /Library/Formula | |
| parent | bd9819e60041778550e8c91fe755eb3979cb96eb (diff) | |
| download | homebrew-4c58bb6b1686c82f96a92525ac3ee2b63c103653.tar.bz2 | |
weechat: cleanup python usage.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/weechat.rb | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/Library/Formula/weechat.rb b/Library/Formula/weechat.rb index 36d3c9207..66886d860 100644 --- a/Library/Formula/weechat.rb +++ b/Library/Formula/weechat.rb @@ -36,6 +36,7 @@ class Weechat < Formula 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' # NLS/gettext support disabled for now since it doesn't work in stdenv # see https://github.com/Homebrew/homebrew/issues/18722 @@ -43,14 +44,7 @@ class Weechat < Formula args << '..' mkdir 'build' do - if python do - system 'cmake', *args - end - else - # The same cmake call but without any python set up. - args << '-DENABLE_PYTHON=OFF' - system 'cmake', *args - end + system 'cmake', *args system 'make install' end end |
