From 373e2ae29ac7d065bc657505e34d183d69c6a4e3 Mon Sep 17 00:00:00 2001 From: commitay Date: Tue, 22 May 2018 18:23:45 +1000 Subject: [PATCH] sysbench: depend on mysql-client instead of mysql Closes #28085. Signed-off-by: ilovezfs --- Formula/sysbench.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Formula/sysbench.rb b/Formula/sysbench.rb index f76bf22708..e03f1453ea 100644 --- a/Formula/sysbench.rb +++ b/Formula/sysbench.rb @@ -3,6 +3,7 @@ class Sysbench < Formula homepage "https://github.com/akopytov/sysbench" url "https://github.com/akopytov/sysbench/archive/1.0.14.tar.gz" sha256 "81669cee6e0d5fccd5543dbcefec18826db43abba580de06cecf5b54483f6079" + revision 1 bottle do sha256 "fcb780c85ec232d60edbbb9fbdb384c3f8e3a26314e625a5bf60461905b636a0" => :high_sierra @@ -10,19 +11,21 @@ class Sysbench < Formula sha256 "d00d69c96c281d3185ffe1db96e625a3baf8b392098c681f560d7b72e605ff09" => :el_capitan end + deprecated_option "without-mysql" => "without-mysql-client" + depends_on "autoconf" => :build depends_on "automake" => :build depends_on "libtool" => :build depends_on "pkg-config" => :build depends_on "openssl" depends_on "postgresql" => :optional - depends_on "mysql" => :recommended + depends_on "mysql-client" => :recommended def install system "./autogen.sh" args = ["--prefix=#{prefix}"] - if build.with? "mysql" + if build.with? "mysql-client" args << "--with-mysql" else args << "--without-mysql"