aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorunsymbol2013-07-19 12:03:25 +0100
committerAdam Vandenberg2013-07-19 08:03:58 -0700
commit100caf1456b2aa0b72d63b6cc073b7f02f6b9aaa (patch)
treea9682ad6f32384abb380ce1da7687519f2ae3e08 /Library
parent15f25169302a81e090eaff0957248bbbcfd63bd2 (diff)
downloadhomebrew-100caf1456b2aa0b72d63b6cc073b7f02f6b9aaa.tar.bz2
mysql: strip invalid flags from mysql_config.
note: regex in previous commit did not strip all invalid flags and stripped out an additional flag "-Wall." this commit resolves this. previous commit : https://github.com/vito/homebrew/commit/9dd1c38a73597535356cb2053f52ca7ef253ff79 discussion : https://github.com/mxcl/homebrew/issues/20788#issuecomment-21242725 Closes #21324. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mysql.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/mysql.rb b/Library/Formula/mysql.rb
index 2164aadff..5c6eb0692 100644
--- a/Library/Formula/mysql.rb
+++ b/Library/Formula/mysql.rb
@@ -100,7 +100,7 @@ class Mysql < Formula
system "make"
# Reported upstream:
# http://bugs.mysql.com/bug.php?id=69645
- inreplace "scripts/mysql_config", / -W[\w-]+ /, " "
+ inreplace "scripts/mysql_config", / +-Wno[\w-]+/, ""
system "make install"
# Don't create databases inside of the prefix!