subversion: use Formula[]
This commit is contained in:
parent
e0ef8d34a8
commit
516fd2e37d
1 changed files with 2 additions and 2 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue