aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-05-20 18:26:24 -0500
committerJack Nagel2014-05-20 18:26:24 -0500
commit1cb2e21bb4ee56385588b40ebff52cadb76cc14a (patch)
treeae4583eb5a8ce484e7d8aee016527b2a77d24573 /Library
parent020225a721243b1ebbbc3907f6a6d5536afb08e4 (diff)
downloadhomebrew-1cb2e21bb4ee56385588b40ebff52cadb76cc14a.tar.bz2
subversion: don't depend on superenv internals
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/subversion.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/Library/Formula/subversion.rb b/Library/Formula/subversion.rb
index 1e3e09ff2..92a4a3005 100644
--- a/Library/Formula/subversion.rb
+++ b/Library/Formula/subversion.rb
@@ -55,10 +55,6 @@ class Subversion < Formula
cause "core.c:1: error: bad value (native) for -march= switch"
end if build.include? 'perl' or build.include? 'ruby'
- def apr_bin
- Superenv.bin or "/usr/bin"
- end
-
def install
serf_prefix = libexec+'serf'
@@ -114,7 +110,7 @@ class Subversion < Formula
# Don't mess with Apache modules (since we're not sudo)
args = ["--disable-debug",
"--prefix=#{prefix}",
- "--with-apr=#{apr_bin}",
+ "--with-apr=#{which("apr-1-config").dirname}",
"--with-zlib=/usr",
"--with-sqlite=#{Formula["sqlite"].opt_prefix}",
"--with-serf=#{serf_prefix}",