aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDan2014-07-31 13:27:36 +0200
committerJack Nagel2015-01-17 22:53:48 -0600
commit1fa4a218e13bb77851b97e92417ef240e164df2e (patch)
tree2848bb8bee79aa385eaaa203b4419324cbbc1da5 /Library
parent25006c33085d4ec4fb71176d906e158db97cfb84 (diff)
downloadhomebrew-1fa4a218e13bb77851b97e92417ef240e164df2e.tar.bz2
mariadb 10.1.2 devel
Closes #34788. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mariadb.rb21
1 files changed, 19 insertions, 2 deletions
diff --git a/Library/Formula/mariadb.rb b/Library/Formula/mariadb.rb
index a950b583d..5468d27a3 100644
--- a/Library/Formula/mariadb.rb
+++ b/Library/Formula/mariadb.rb
@@ -11,6 +11,11 @@ class Mariadb < Formula
sha1 "cbffb3b121dad1e8602514613ac5f6aaf40a859a" => :mountain_lion
end
+ devel do
+ url "http://ftp.osuosl.org/pub/mariadb/mariadb-10.1.2/source/mariadb-10.1.2.tar.gz"
+ sha1 "56b035f31ec89f36555b7e7972efc5e5c4157f23"
+ end
+
depends_on 'cmake' => :build
depends_on 'pidof' unless MacOS.version >= :mountain_lion
depends_on "openssl"
@@ -77,10 +82,22 @@ class Mariadb < Formula
args << "-DWITH_READLINE=yes" if build.without? 'libedit'
# Compile with ARCHIVE engine enabled if chosen
- args << "-DWITH_ARCHIVE_STORAGE_ENGINE=1" if build.with? 'archive-storage-engine'
+ if build.with? 'archive-storage-engine'
+ if build.stable?
+ args << "-DWITH_ARCHIVE_STORAGE_ENGINE=1"
+ else
+ args << "-DPLUGIN_ARCHIVE=YES"
+ end
+ end
# Compile with BLACKHOLE engine enabled if chosen
- args << "-DWITH_BLACKHOLE_STORAGE_ENGINE=1" if build.with? 'blackhole-storage-engine'
+ if build.with? 'blackhole-storage-engine'
+ if build.stable?
+ args << "-DWITH_BLACKHOLE_STORAGE_ENGINE=1"
+ else
+ args << "-DPLUGIN_BLACKHOLE=YES"
+ end
+ end
# Make universal for binding to universal applications
if build.universal?