aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorChen, Xiaoqiang2013-11-25 12:29:25 +0800
committerMike McQuaid2013-11-25 10:33:17 +0000
commit0bbbfa308dc52ac029275354ca2ba865bd487f7b (patch)
treeb7c270d702db5e947eec6168ad6999af085e992c /Library/Formula
parent85d587fefe34c4974bed33b912dcdf8c5f5766f8 (diff)
downloadhomebrew-0bbbfa308dc52ac029275354ca2ba865bd487f7b.tar.bz2
percona-server: memcached plugin option.
Closes #24640. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/percona-server.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/percona-server.rb b/Library/Formula/percona-server.rb
index 34af6e448..36b50659a 100644
--- a/Library/Formula/percona-server.rb
+++ b/Library/Formula/percona-server.rb
@@ -12,6 +12,7 @@ class PerconaServer < Formula
option :universal
option 'with-tests', 'Build with unit tests'
option 'with-embedded', 'Build the embedded server'
+ option 'with-memcached', 'Build with InnoDB Memcached plugin'
option 'enable-local-infile', 'Build with local infile loading support'
conflicts_with 'mysql-connector-c',
@@ -88,6 +89,9 @@ class PerconaServer < Formula
# Build the embedded server
args << "-DWITH_EMBEDDED_SERVER=ON" if build.with? 'embedded'
+ # Build with InnoDB Memcached plugin
+ args << "-DWITH_INNODB_MEMCACHED=ON" if build.with? 'memcached'
+
# Make universal for binding to universal applications
args << "-DCMAKE_OSX_ARCHITECTURES='#{Hardware::CPU.universal_archs.as_cmake_arch_flags}'" if build.universal?