aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mysql.rb
diff options
context:
space:
mode:
authorJaik Dean2012-01-04 10:54:01 +0000
committerAdam Vandenberg2012-01-28 20:03:14 -0800
commita1529c1fe27dfd65e46ec99035af221790322c68 (patch)
tree6f29c5ab89157161fa76a5ee1b1ea9f6bd180d11 /Library/Formula/mysql.rb
parent78c66fb8502a582d8dbaba04b797746a92f8bc95 (diff)
downloadhomebrew-a1529c1fe27dfd65e46ec99035af221790322c68.tar.bz2
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 <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/mysql.rb')
-rw-r--r--Library/Formula/mysql.rb8
1 files changed, 8 insertions, 0 deletions
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?