Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 0 additions & 40 deletions libmemcached/1.0.18.patch
Original file line number Diff line number Diff line change
@@ -1,43 +1,3 @@
class Libmemcached < Formula
desc "C and C++ client library to the memcached server"
homepage "http://libmemcached.org"
url "https://launchpad.net/libmemcached/1.0/1.0.18/+download/libmemcached-1.0.18.tar.gz"
sha256 "e22c0bb032fde08f53de9ffbc5a128233041d9f33b5de022c0978a2149885f82"
revision 1

bottle do
cellar :any
sha256 "3ccc8ce08ad64df9952d800cf6d336c35f4083ad366e61c33586a1d932ef556a" => :sierra
sha256 "a6714baf6c2451c8ef44616a999183bf2ad1d6dd6b837ece97324bbc97c7b800" => :el_capitan
sha256 "726426f5a3fd386bbbe637935377e46cea6bd6ca24d086ecead5962de1ecdc33" => :yosemite
sha256 "819a893ecb0d662b2cc299dcc5f86879b569f91a2101a4b3e1f3b265bacc2708" => :mavericks
sha256 "bcf00c6004c5d4e5104867e16905f4375b129b527a47b2b000131bf59e15a423" => :mountain_lion
end

option "with-sasl", "Build with sasl support"

if build.with? "sasl"
depends_on "memcached" => "enable-sasl"
else
depends_on "memcached"
end

# https://bugs.launchpad.net/libmemcached/+bug/1245562
patch :DATA

def install
args = ["--prefix=#{prefix}"]

if build.with? "sasl"
args << "--with-memcached-sasl=#{Formula["memcached"].bin}/memcached"
end

system "./configure", *args
system "make", "install"
end
end

__END__
diff --git a/clients/memflush.cc b/clients/memflush.cc
index 8bd0dbf..71545ea 100644
--- a/clients/memflush.cc
Expand Down