From 516fd2e37db1a67673f9af5d872093a00f0e144d Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Tue, 25 Feb 2014 21:44:02 -0800 Subject: [PATCH] subversion: use Formula[] --- Formula/subversion.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/subversion.rb b/Formula/subversion.rb index 6dec3e5cb3..0db1e9afd8 100644 --- a/Formula/subversion.rb +++ b/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",