aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2015-02-02 00:39:04 -0500
committerJack Nagel2015-02-02 00:39:04 -0500
commit8444b4f959f1822f10dd7610657091f4c52dbbcc (patch)
tree29aace242dc29bc1dac9a5186d3d98addadae91b /Library
parent3c7237e1296074859693189ad605984c6dae9d13 (diff)
downloadhomebrew-8444b4f959f1822f10dd7610657091f4c52dbbcc.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.
Diffstat (limited to 'Library')
-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?