diff options
| -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 |
