diff options
| author | Marshall Yount | 2011-01-12 12:12:31 -0600 |
|---|---|---|
| committer | Mike McQuaid | 2011-01-20 22:10:55 +0000 |
| commit | cb74b85a25f416e4554694cad739ff93f3defbd0 (patch) | |
| tree | 5db934ec95755fe2292c3f84415b918b9f51f590 | |
| parent | 53886683124046fb92b54d8f3c2aff2d90582c9a (diff) | |
| download | homebrew-cb74b85a25f416e4554694cad739ff93f3defbd0.tar.bz2 | |
enable SASL support with commandline flag
Closes #3879.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
| -rw-r--r-- | Library/Formula/memcached.rb | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Library/Formula/memcached.rb b/Library/Formula/memcached.rb index f467ab460..5d67931ee 100644 --- a/Library/Formula/memcached.rb +++ b/Library/Formula/memcached.rb @@ -7,8 +7,17 @@ class Memcached <Formula depends_on 'libevent' + def options + [ + ["--enable-sasl", "Enable SASL support -- disables ASCII protocol!"], + ] + end + def install - system "./configure", "--prefix=#{prefix}" + args = ["--prefix=#{prefix}"] + args << "--enable-sasl" if ARGV.include? "--enable-sasl" + + system "./configure", *args system "make install" (prefix+'com.danga.memcached.plist').write startup_plist |
