aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2014-04-07 21:19:11 -0700
committerAdam Vandenberg2014-04-07 21:42:30 -0700
commit5ebe73b159f071ec160d8dcfcd681e9be352fa78 (patch)
tree72913f760a4d0b4b30909f56855fb3ddc25bf238 /Library
parent2e014f9407c952fd72c7b0e32d6984b6ce077d6b (diff)
downloadhomebrew-5ebe73b159f071ec160d8dcfcd681e9be352fa78.tar.bz2
mysql: build against Homebrewed OpenSSL
Closes #26202.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mysql.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/Library/Formula/mysql.rb b/Library/Formula/mysql.rb
index 4c46798f2..709fcf0e4 100644
--- a/Library/Formula/mysql.rb
+++ b/Library/Formula/mysql.rb
@@ -11,9 +11,6 @@ class Mysql < Formula
sha1 "f674566a77c3c950110df895f45cbe901b1c9ee2" => :lion
end
- depends_on 'cmake' => :build
- depends_on 'pidof' unless MacOS.version >= :mountain_lion
-
option :universal
option 'with-tests', 'Build with unit tests'
option 'with-embedded', 'Build the embedded server'
@@ -23,6 +20,10 @@ class Mysql < Formula
option 'enable-memcached', 'Enable innodb-memcached support'
option 'enable-debug', 'Build with debug support'
+ depends_on 'cmake' => :build
+ depends_on 'pidof' unless MacOS.version >= :mountain_lion
+ depends_on 'openssl'
+
conflicts_with 'mysql-cluster', 'mariadb', 'percona-server',
:because => "mysql, mariadb, and percona install the same binaries."
conflicts_with 'mysql-connector-c',
@@ -59,6 +60,7 @@ class Mysql < Formula
-DINSTALL_INFODIR=share/info
-DINSTALL_MYSQLSHAREDIR=share/mysql
-DWITH_SSL=yes
+ -DWITH_SSL=system
-DDEFAULT_CHARSET=utf8
-DDEFAULT_COLLATION=utf8_general_ci
-DSYSCONFDIR=#{etc}