diff options
| author | Vladimir Andrijevik | 2011-02-13 14:02:33 +0100 | 
|---|---|---|
| committer | Adam Vandenberg | 2011-02-17 08:19:35 -0800 | 
| commit | 7077f849108d43a7830a0bc12d9ad2bdaf9dc336 (patch) | |
| tree | e6687e14895fb0667a0f9019b832b910c31a1de4 /Library/Formula/mysql.rb | |
| parent | e60bfbe5eeb792e5bfa4b15e6ba6243a9f04753b (diff) | |
| download | homebrew-7077f849108d43a7830a0bc12d9ad2bdaf9dc336.tar.bz2 | |
Add option to mysql formula for compiling with utf8 as the default charset.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/mysql.rb')
| -rw-r--r-- | Library/Formula/mysql.rb | 4 | 
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"  | 
