aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mysql.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/mysql.rb b/Library/Formula/mysql.rb
index 19a848aef..0e6b48f13 100644
--- a/Library/Formula/mysql.rb
+++ b/Library/Formula/mysql.rb
@@ -22,7 +22,7 @@ class Mysql < Formula
option 'with-archive-storage-engine', 'Compile with the ARCHIVE storage engine enabled'
option 'with-blackhole-storage-engine', 'Compile with the BLACKHOLE storage engine enabled'
option 'enable-local-infile', 'Build with local infile loading support'
- option 'with-debug', 'Build with debug support'
+ option 'enable-debug', 'Build with debug support'
conflicts_with 'mariadb',
:because => "mysql and mariadb install the same binaries."
@@ -83,7 +83,7 @@ class Mysql < Formula
args << "-DENABLED_LOCAL_INFILE=1" if build.include? 'enable-local-infile'
# Build with debug support
- args << "-DWITH_DEBUG=1" if build.include? 'with-debug'
+ args << "-DWITH_DEBUG=1" if build.include? 'enable-debug'
system "cmake", *args
system "make"