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.
This commit is contained in:
parent
d362f5a2fb
commit
208bc0516b
@ -4,7 +4,7 @@ class AprDependency < Requirement
|
|||||||
fatal true
|
fatal true
|
||||||
default_formula "apr-util"
|
default_formula "apr-util"
|
||||||
|
|
||||||
satisfy { MacOS::CLT.installed? || Formula["apr"].installed? }
|
satisfy { MacOS::CLT.installed? }
|
||||||
|
|
||||||
env do
|
env do
|
||||||
unless MacOS::CLT.installed?
|
unless MacOS::CLT.installed?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user