diff options
| author | Adam Vandenberg | 2012-08-31 13:41:37 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-08-31 13:41:37 -0700 |
| commit | a9017eb230c46dd4821e7929d55d583e6f61ebe1 (patch) | |
| tree | 05d574124b87d06d317b098792cdce3feac2fa4d | |
| parent | 2aa7f6466cf9a053953e48f19368a401fe0fdb6f (diff) | |
| download | homebrew-a9017eb230c46dd4821e7929d55d583e6f61ebe1.tar.bz2 | |
memcached: disable code coverage
Fixes #14604.
| -rw-r--r-- | Library/Formula/memcached.rb | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/Library/Formula/memcached.rb b/Library/Formula/memcached.rb index 2b1a84455..1ab2efc2f 100644 --- a/Library/Formula/memcached.rb +++ b/Library/Formula/memcached.rb @@ -7,17 +7,13 @@ class Memcached < Formula depends_on 'libevent' - def options - [ - ["--enable-sasl", "Enable SASL support -- disables ASCII protocol!"], - ["--enable-sasl-pwdb", "Enable SASL with memcached's own plain text password db support -- disables ASCII protocol!"], - ] - end + option "enable-sasl", "Enable SASL support -- disables ASCII protocol!" + option "enable-sasl-pwdb", "Enable SASL with memcached's own plain text password db support -- disables ASCII protocol!" def install - args = ["--prefix=#{prefix}"] - args << "--enable-sasl" if ARGV.include? "--enable-sasl" - args << "--enable-sasl-pwdb" if ARGV.include? "--enable-sasl-pwdb" + args = ["--prefix=#{prefix}", "--disable-coverage"] + args << "--enable-sasl" if build.include? "enable-sasl" + args << "--enable-sasl-pwdb" if build.include? "enable-sasl-pwdb" system "./configure", *args system "make install" |
