mysql: normalize option name
This commit is contained in:
parent
8cfea71f78
commit
03345142be
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ class Mysql < Formula
|
||||||
option 'with-archive-storage-engine', 'Compile with the ARCHIVE storage engine enabled'
|
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 'with-blackhole-storage-engine', 'Compile with the BLACKHOLE storage engine enabled'
|
||||||
option 'enable-local-infile', 'Build with local infile loading support'
|
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',
|
conflicts_with 'mariadb',
|
||||||
:because => "mysql and mariadb install the same binaries."
|
: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'
|
args << "-DENABLED_LOCAL_INFILE=1" if build.include? 'enable-local-infile'
|
||||||
|
|
||||||
# Build with debug support
|
# 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 "cmake", *args
|
||||||
system "make"
|
system "make"
|
||||||
|
|
Loading…
Reference in a new issue