aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2015-02-06 08:30:42 +0000
committerMike McQuaid2015-02-06 08:30:42 +0000
commit5e62d7503e57ed166e69869c842eaa253f90654a (patch)
treea87a5392eb985ca89b01304d101ae6a4fee92b18
parent39ead112f312a48110c96fc091a4870f7929c429 (diff)
downloadbrew-5e62d7503e57ed166e69869c842eaa253f90654a.tar.bz2
formula_cellar_checks: tweak postgresql on 10.8.
It shadows system headers sometimes (probably just Server.app?) but we don't really care.
-rw-r--r--Library/Homebrew/formula_cellar_checks.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/formula_cellar_checks.rb b/Library/Homebrew/formula_cellar_checks.rb
index 49af0921e..23099dd94 100644
--- a/Library/Homebrew/formula_cellar_checks.rb
+++ b/Library/Homebrew/formula_cellar_checks.rb
@@ -105,6 +105,7 @@ module FormulaCellarChecks
def check_shadowed_headers
return if formula.name == "libtool" || formula.name == "subversion"
+ return if MacOS.version < :mavericks && formula.name.start_with?("postgresql")
return if formula.keg_only? || !formula.include.directory?
files = relative_glob(formula.include, "**/*.h")