aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mysql.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/mysql.rb')
-rw-r--r--Library/Formula/mysql.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/mysql.rb b/Library/Formula/mysql.rb
index a6897f027..ec3b2a948 100644
--- a/Library/Formula/mysql.rb
+++ b/Library/Formula/mysql.rb
@@ -13,7 +13,8 @@ class Mysql <Formula
['--with-bench', "Keep benchmark app when installing."],
['--with-embedded', "Build the embedded server."],
['--client-only', "Only install client tools, not the server."],
- ['--universal', "Make mysql a universal binary"]
+ ['--universal', "Make mysql a universal binary"],
+ ['--with-utf8-default', "Set the default character set to utf8"]
]
end
@@ -51,6 +52,7 @@ class Mysql <Formula
configure_args << "--without-server" if ARGV.include? '--client-only'
configure_args << "--with-embedded-server" if ARGV.include? '--with-embedded'
+ configure_args << "--with-charset=utf8" if ARGV.include? '--with-utf8-default'
system "./configure", *configure_args
system "make install"