From 100caf1456b2aa0b72d63b6cc073b7f02f6b9aaa Mon Sep 17 00:00:00 2001 From: unsymbol Date: Fri, 19 Jul 2013 12:03:25 +0100 Subject: 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 --- Library/Formula/mysql.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') 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! -- cgit v1.2.3