mysql@5.7: enable all options by default

Closes #34426.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Mike McQuaid 2018-11-24 13:23:38 +00:00
parent 66dd3963d2
commit 07bdd6adf3
No known key found for this signature in database
GPG key ID: 48A898132FD8EE70

View file

@ -12,13 +12,6 @@ class MysqlAT57 < Formula
keg_only :versioned_formula
option "with-embedded", "Build the embedded server"
option "with-local-infile", "Build with local infile loading support"
option "with-memcached", "Build with InnoDB Memcached plugin"
deprecated_option "enable-local-infile" => "with-local-infile"
deprecated_option "enable-memcached" => "with-memcached"
depends_on "cmake" => :build
# https://github.com/Homebrew/homebrew-core/issues/1475
# Needs at least Clang 3.3, which shipped alongside Lion.
@ -48,17 +41,11 @@ class MysqlAT57 < Formula
-DWITH_EDITLINE=system
-DWITH_SSL=yes
-DWITH_UNIT_TESTS=OFF
-DWITH_EMBEDDED_SERVER=ON
-DENABLED_LOCAL_INFILE=1
-DWITH_INNODB_MEMCACHED=ON
]
# Build the embedded server
args << "-DWITH_EMBEDDED_SERVER=ON" if build.with? "embedded"
# Build with local infile loading support
args << "-DENABLED_LOCAL_INFILE=1" if build.with? "local-infile"
# Build with InnoDB Memcached plugin
args << "-DWITH_INNODB_MEMCACHED=ON" if build.with? "memcached"
system "cmake", ".", *std_cmake_args, *args
system "make"
system "make", "install"