This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Revert share directory change, remove std_cmake_args.

  • Loading branch information...
1 parent fcf337f commit c58570bd8c863d4961a2d210e8d250c34ecc6123 @gergoerdosi gergoerdosi committed Nov 14, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 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",

0 comments on commit c58570b

Please sign in to comment.