aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula_cellar_checks.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_cellar_checks.rb b/Library/Homebrew/formula_cellar_checks.rb
index 23099dd94..98d1073ea 100644
--- a/Library/Homebrew/formula_cellar_checks.rb
+++ b/Library/Homebrew/formula_cellar_checks.rb
@@ -104,7 +104,10 @@ module FormulaCellarChecks
end
def check_shadowed_headers
- return if formula.name == "libtool" || formula.name == "subversion"
+ ["libtool", "subversion", "berkeley-db"].each do |formula_name|
+ return if formula.name == formula_name
+ end
+
return if MacOS.version < :mavericks && formula.name.start_with?("postgresql")
return if formula.keg_only? || !formula.include.directory?