enable SASL support with commandline flag
Closes Homebrew/homebrew#3879. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
e9a7e8d562
commit
5d80c526ef
1 changed files with 10 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue