aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2014-02-25 21:44:02 -0800
committerAdam Vandenberg2014-02-27 08:21:21 -0800
commitf9f37a2068f9f744e5ef344f613942de70ced49e (patch)
tree4d7f1a4cac4258f5bfa7589809468c1b63099795 /Library/Formula
parente8f20651a21f0b4349c88d66da3047f1ea2fc084 (diff)
downloadhomebrew-f9f37a2068f9f744e5ef344f613942de70ced49e.tar.bz2
subversion: use Formula[]
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/subversion.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/subversion.rb b/Library/Formula/subversion.rb
index 6dec3e5cb..0db1e9afd 100644
--- a/Library/Formula/subversion.rb
+++ b/Library/Formula/subversion.rb
@@ -75,7 +75,7 @@ class Subversion < Formula
# scons ignores our compiler and flags unless explicitly passed
args = %W[PREFIX=#{serf_prefix} GSSAPI=/usr CC=#{ENV.cc}
CFLAGS=#{ENV.cflags} LINKFLAGS=#{ENV.ldflags}]
- args << "OPENSSL=#{Formula.factory('openssl').opt_prefix}" if build.with? 'brewed-openssl'
+ args << "OPENSSL=#{Formula["openssl"].opt_prefix}" if build.with? 'brewed-openssl'
scons *args
scons "install"
end
@@ -118,7 +118,7 @@ class Subversion < Formula
"--prefix=#{prefix}",
"--with-apr=#{apr_bin}",
"--with-zlib=/usr",
- "--with-sqlite=#{Formula.factory('sqlite').opt_prefix}",
+ "--with-sqlite=#{Formula["sqlite"].opt_prefix}",
"--with-serf=#{serf_prefix}",
"--disable-mod-activation",
"--disable-nls",