aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2012-08-31 13:41:37 -0700
committerAdam Vandenberg2012-08-31 13:41:37 -0700
commita9017eb230c46dd4821e7929d55d583e6f61ebe1 (patch)
tree05d574124b87d06d317b098792cdce3feac2fa4d
parent2aa7f6466cf9a053953e48f19368a401fe0fdb6f (diff)
downloadhomebrew-a9017eb230c46dd4821e7929d55d583e6f61ebe1.tar.bz2
memcached: disable code coverage
Fixes #14604.
-rw-r--r--Library/Formula/memcached.rb14
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"