aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMike McQuaid2015-02-24 08:52:57 +0000
committerMike McQuaid2015-02-24 08:52:57 +0000
commitbdeb758d7885c0027a660aebbdba2fe899fef258 (patch)
tree1a3bfe68ed0ad8fe3245f56df823fb918d489bb0 /Library/Homebrew
parent614911ff2158d3b10fd7092a5cd61c927766caf1 (diff)
downloadhomebrew-bdeb758d7885c0027a660aebbdba2fe899fef258.tar.bz2
formula_cellar_checks: ignore berkeley-db headers.
Diffstat (limited to 'Library/Homebrew')
-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?