diff options
| author | Jack Nagel | 2015-02-02 00:39:04 -0500 |
|---|---|---|
| committer | Jack Nagel | 2015-02-02 00:39:04 -0500 |
| commit | f33901731edfa1eb0f89643bd2e17ea981655aeb (patch) | |
| tree | d5e9a4889fed6c7cbc4a0269939ac7747648a389 /Library/Homebrew | |
| parent | c2264e2c3a16c5c144d6d82f8c0deda1621b1b65 (diff) | |
| download | homebrew-f33901731edfa1eb0f89643bd2e17ea981655aeb.tar.bz2 | |
AprRequirement's default formula should be apr-util
This matches the recommendation in the message.
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/requirements/apr_dependency.rb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Library/Homebrew/requirements/apr_dependency.rb b/Library/Homebrew/requirements/apr_dependency.rb index f996b5b79..f2aab0581 100644 --- a/Library/Homebrew/requirements/apr_dependency.rb +++ b/Library/Homebrew/requirements/apr_dependency.rb @@ -2,15 +2,16 @@ require "requirement" class AprDependency < Requirement fatal true - default_formula "apr" + default_formula "apr-util" satisfy { MacOS::CLT.installed? || Formula["apr"].installed? } env do unless MacOS::CLT.installed? - ENV.prepend_path "PATH", "#{Formula["apr-util"].opt_prefix}/bin" - ENV.prepend_path "PKG_CONFIG_PATH", "#{Formula["apr"].opt_prefix}/libexec/lib/pkgconfig" - ENV.prepend_path "PKG_CONFIG_PATH", "#{Formula["apr-util"].opt_prefix}/libexec/lib/pkgconfig" + ENV.prepend_path "PATH", Formula["apr-util"].opt_bin + ENV.prepend_path "PATH", Formula["apr"].opt_bin + ENV.prepend_path "PKG_CONFIG_PATH", "#{Formula["apr"].opt_libexec}/lib/pkgconfig" + ENV.prepend_path "PKG_CONFIG_PATH", "#{Formula["apr-util"].opt_libexec}/lib/pkgconfig" end end |
