Skip to content

Commit

Permalink
mysql: boost is only build time
Browse files Browse the repository at this point in the history
According to the mysql release notes, Boost.Geometry is required to build MySQL (see https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-5.html).
However, Boost.Geometry is a header-only library, and only need to actually *build* MySQL...it is not needed as a runtime dependency.
This patch just changes the dependency on boost for MySQL to be build-time only.

See conversation at Homebrew/legacy-homebrew@df384ee for details and discussion that lead to this PR

Closes Homebrew/legacy-homebrew#47011.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
  • Loading branch information
toonetown authored and DomT4 committed Dec 15, 2015
1 parent 756c8fd commit df55c29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/mysql.rb
Expand Up @@ -27,7 +27,7 @@ class Mysql < Formula
depends_on "cmake" => :build
depends_on "pidof" unless MacOS.version >= :mountain_lion
depends_on "openssl"
depends_on "boost"
depends_on "boost" => :build

conflicts_with "mysql-cluster", "mariadb", "percona-server",
:because => "mysql, mariadb, and percona install the same binaries."
Expand Down

0 comments on commit df55c29

Please sign in to comment.