Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Revert share directory change, remove std_cmake_args.

  • Loading branch information...
commit c58570bd8c863d4961a2d210e8d250c34ecc6123 1 parent fcf337f
@gergoerdosi gergoerdosi authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 Library/Formula/percona-server.rb
View
5 Library/Formula/percona-server.rb
@@ -37,14 +37,15 @@ def install
# Make sure the var/percona directory exists
(var+"percona").mkpath
- args = std_cmake_args + [
+ args = [
".",
+ "-DCMAKE_INSTALL_PREFIX=#{prefix}",
"-DMYSQL_DATADIR=#{var}/percona",
"-DINSTALL_MANDIR=#{man}",
"-DINSTALL_DOCDIR=#{doc}",
"-DINSTALL_INFODIR=#{info}",
# CMake prepends prefix, so use share.basename
- "-DINSTALL_MYSQLSHAREDIR=#{share.basename}/percona",
+ "-DINSTALL_MYSQLSHAREDIR=#{share.basename}",
"-DWITH_SSL=yes",
"-DDEFAULT_CHARSET=utf8",
"-DDEFAULT_COLLATION=utf8_general_ci",
Please sign in to comment.
Something went wrong with that request. Please try again.