From a1529c1fe27dfd65e46ec99035af221790322c68 Mon Sep 17 00:00:00 2001 From: Jaik Dean Date: Wed, 4 Jan 2012 10:54:01 +0000 Subject: mysql: ARCHIVE and BLACKHOLE engines Added install flags to the mysql formula to allow the ARCHIVE and BLACKHOLE storage engines to be compiled in. Signed-off-by: Adam Vandenberg --- Library/Formula/mysql.rb | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Library/Formula') diff --git a/Library/Formula/mysql.rb b/Library/Formula/mysql.rb index 9bfb2c8d5..32c3a5469 100644 --- a/Library/Formula/mysql.rb +++ b/Library/Formula/mysql.rb @@ -18,6 +18,8 @@ class Mysql < Formula ['--with-tests', "Build with unit tests."], ['--with-embedded', "Build the embedded server."], ['--with-libedit', "Compile with EditLine wrapper instead of readline"], + ['--with-archive-storage-engine', "Compile with the ARCHIVE storage engine enabled"], + ['--with-blackhole-storage-engine', "Compile with the BLACKHOLE storage engine enabled"], ['--universal', "Make mysql a universal binary"], ['--enable-local-infile', "Build with local infile loading support"] ] @@ -57,6 +59,12 @@ class Mysql < Formula # Compile with readline unless libedit is explicitly chosen args << "-DWITH_READLINE=yes" unless ARGV.include? '--with-libedit' + # Compile with ARCHIVE engine enabled if chosen + args << "-DWITH_ARCHIVE_STORAGE_ENGINE=1" if ARGV.include? '--with-archive-storage-engine' + + # Compile with BLACKHOLE engine enabled if chosen + args << "-DWITH_BLACKHOLE_STORAGE_ENGINE=1" if ARGV.include? '--with-blackhole-storage-engine' + # Make universal for binding to universal applications args << "-DCMAKE_OSX_ARCHITECTURES='i386;x86_64'" if ARGV.build_universal? -- cgit v1.2.3