aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMike McQuaid2015-02-06 08:30:42 +0000
committerMike McQuaid2015-02-06 08:30:42 +0000
commit71b6f445b510ac2913f53cefe7b475d500dd5bcc (patch)
tree8a9c9d68e9560b47d91c1290a2b03aab59109546 /Library/Homebrew
parentaaf6f33f3b0b173dc5ea73f195d8290007d1ea80 (diff)
downloadhomebrew-71b6f445b510ac2913f53cefe7b475d500dd5bcc.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.
Diffstat (limited to 'Library/Homebrew')
-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")