diff options
| author | Alex Suraci | 2013-07-04 10:56:53 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-07-17 20:18:52 -0700 |
| commit | 5c0ea906f37f9c82da72006771413fce56f35f83 (patch) | |
| tree | 01487a8f31893a0f3f040a1b205029d0d9f61323 /Library/Formula/mysql.rb | |
| parent | 670b8f7f49053abe0db05ccf4130e4366551d29b (diff) | |
| download | homebrew-5c0ea906f37f9c82da72006771413fce56f35f83.tar.bz2 | |
mysql: workaround for 5.6.12's mysql_config
mysql_config from mysql 5.6.12 includes various -W flags that are not supposed
by OS X's gcc. this just trims them out. hopefully it gets fixed upstream
though.
Closes #20788.
Closes #21011.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/mysql.rb')
| -rw-r--r-- | Library/Formula/mysql.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/mysql.rb b/Library/Formula/mysql.rb index bd1b83773..2164aadff 100644 --- a/Library/Formula/mysql.rb +++ b/Library/Formula/mysql.rb @@ -98,6 +98,9 @@ class Mysql < Formula system "cmake", *args system "make" + # Reported upstream: + # http://bugs.mysql.com/bug.php?id=69645 + inreplace "scripts/mysql_config", / -W[\w-]+ /, " " system "make install" # Don't create databases inside of the prefix! |
