From 684b3f64a890a76848b95beb3b6273c566520cad Mon Sep 17 00:00:00 2001 From: Bo Anderson Date: Wed, 13 Nov 2019 17:17:50 +0000 Subject: [PATCH] mariadb@10.3: use brew groonga --- Formula/mariadb@10.3.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Formula/mariadb@10.3.rb b/Formula/mariadb@10.3.rb index a96be54b93..bea207e2eb 100644 --- a/Formula/mariadb@10.3.rb +++ b/Formula/mariadb@10.3.rb @@ -3,6 +3,7 @@ class MariadbAT103 < Formula homepage "https://mariadb.org/" url "https://downloads.mariadb.org/f/mariadb-10.3.20/source/mariadb-10.3.20.tar.gz" sha256 "53818f2d684e060143b4d8293da44c7f09cc676d71959405f84e6dc8affbc492" + revision 1 bottle do sha256 "8d2c88f3de082b03ea280053b29df01f572678e0cdcf719d21380a59f3e1755d" => :catalina @@ -13,6 +14,8 @@ class MariadbAT103 < Formula keg_only :versioned_formula depends_on "cmake" => :build + depends_on "pkg-config" => :build + depends_on "groonga" depends_on "openssl@1.1" def install @@ -24,6 +27,9 @@ class MariadbAT103 < Formula s.change_make_var! "ldata", "\"#{var}/mysql\"" end + # Use brew groonga + rm_r "storage/mroonga/vendor/groonga" + # -DINSTALL_* are relative to prefix args = %W[ -DMYSQL_DATADIR=#{var}/mysql