aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJulien Ammous2013-02-18 08:59:32 +0000
committerMike McQuaid2013-02-18 09:00:00 +0000
commitc7131dd2f7a7c47ae9770417bc7929e81a5b4217 (patch)
tree080822377d3da6decf478d4242e01ad49b8ceeb3 /Library/Formula
parentfafee1ad1b5708b8af9e3bab6f115a0075d6f25a (diff)
downloadhomebrew-c7131dd2f7a7c47ae9770417bc7929e81a5b4217.tar.bz2
mysql 5.6.10
- Add innodb_memcached support with an option. Closes #17816. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mysql.rb16
1 files changed, 7 insertions, 9 deletions
diff --git a/Library/Formula/mysql.rb b/Library/Formula/mysql.rb
index 24bbc1d5b..4b357ca7e 100644
--- a/Library/Formula/mysql.rb
+++ b/Library/Formula/mysql.rb
@@ -2,15 +2,9 @@ require 'formula'
class Mysql < Formula
homepage 'http://dev.mysql.com/doc/refman/5.5/en/'
- url 'http://dev.mysql.com/get/Downloads/MySQL-5.5/mysql-5.5.29.tar.gz/from/http://cdn.mysql.com/'
- version '5.5.29'
- sha1 '40e26b193b6ece86ce97896c0c9c524d479e37be'
-
- bottle do
- sha1 '3c5b57df466eb538db58654c5f046ddf7bc675e9' => :mountainlion
- sha1 '6595eb3f79224193a17159934220bed94fbc2df4' => :lion
- sha1 '57992bbcc2820ffe41ae9317da81aba7480b0268' => :snowleopard
- end
+ url 'http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.10.tar.gz/from/http://cdn.mysql.com/'
+ version '5.6.10'
+ sha1 'f37979eafc241a0ebeac9548cb3f4113074271b7'
depends_on 'cmake' => :build
depends_on 'pidof' unless MacOS.version >= :mountain_lion
@@ -22,6 +16,7 @@ class Mysql < Formula
option 'with-archive-storage-engine', 'Compile with the ARCHIVE storage engine enabled'
option 'with-blackhole-storage-engine', 'Compile with the BLACKHOLE storage engine enabled'
option 'enable-local-infile', 'Build with local infile loading support'
+ option 'enable-memcached', 'Enable innodb-memcached support'
option 'enable-debug', 'Build with debug support'
conflicts_with 'mariadb',
@@ -86,6 +81,9 @@ class Mysql < Formula
# Build with local infile loading support
args << "-DENABLED_LOCAL_INFILE=1" if build.include? 'enable-local-infile'
+ # Build with memcached support
+ args << "-DWITH_INNODB_MEMCACHED=1" if build.include? 'enable-memcached'
+
# Build with debug support
args << "-DWITH_DEBUG=1" if build.include? 'enable-debug'