aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2015-02-02 00:39:04 -0500
committerJack Nagel2015-02-02 00:39:04 -0500
commit208bc0516b8cd3a25aa33f4ef4976caf72dd366e (patch)
tree23c80e9b3f6ca494b2b38b12a25cf24ed9db5be9
parentd362f5a2fbc82810f819a7d024b92fee4813cf3e (diff)
downloadbrew-208bc0516b8cd3a25aa33f4ef4976caf72dd366e.tar.bz2
AprRequirement should not short-circuit if apr is installed
If apr is installed, we still want to grab it during dependency resolution in case we need to pass options to the generated dependency. In other words, it doesn't make sense for the satisfiable condition to include the default formula, as the default formula is the fallback for when the requirement is *not* satisfied.
-rw-r--r--Library/Homebrew/requirements/apr_dependency.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/requirements/apr_dependency.rb b/Library/Homebrew/requirements/apr_dependency.rb
index c93a2e11a..8b63256a8 100644
--- a/Library/Homebrew/requirements/apr_dependency.rb
+++ b/Library/Homebrew/requirements/apr_dependency.rb
@@ -4,7 +4,7 @@ class AprDependency < Requirement
fatal true
default_formula "apr-util"
- satisfy { MacOS::CLT.installed? || Formula["apr"].installed? }
+ satisfy { MacOS::CLT.installed? }
env do
unless MacOS::CLT.installed?