aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Pearce2014-03-11 15:32:39 +0000
committerMike McQuaid2014-03-11 16:16:58 +0000
commit0e9005b71127dc088d693513da4b638e052c77e1 (patch)
treec3de0bc1ac772132153cb8e885615d92b5f22fde
parent3668eef93d01103017bc57a96a0ef232a5dfeb70 (diff)
downloadhomebrew-0e9005b71127dc088d693513da4b638e052c77e1.tar.bz2
mysql-connector-c++: allow mariadb/percona-server
Fixes #27025. Closes #27421. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
-rw-r--r--Library/Formula/mysql-connector-c++.rb9
1 files changed, 8 insertions, 1 deletions
diff --git a/Library/Formula/mysql-connector-c++.rb b/Library/Formula/mysql-connector-c++.rb
index 837f5938e..61d9cd8df 100644
--- a/Library/Formula/mysql-connector-c++.rb
+++ b/Library/Formula/mysql-connector-c++.rb
@@ -5,9 +5,16 @@ class MysqlConnectorCxx < Formula
url 'http://mysql.he.net/Downloads/Connector-C++/mysql-connector-c++-1.1.3.tar.gz'
sha1 'b817dccf3a4e340b6a972028ceb7eededaaebd6f'
+ class MysqlClient < Requirement
+ fatal true
+ default_formula "mysql"
+
+ satisfy { which 'mysql' }
+ end
+
depends_on 'cmake' => :build
depends_on 'boost' => :build
- depends_on 'mysql'
+ depends_on MysqlClient
def install
system "cmake", ".", *std_cmake_args