openlitespeed: use Formula[]
This commit is contained in:
parent
976e47988d
commit
c5270e6242
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ class Openlitespeed < Formula
|
||||||
args = ["--disable-dependency-tracking", "--prefix=#{prefix}"]
|
args = ["--disable-dependency-tracking", "--prefix=#{prefix}"]
|
||||||
args << "--enable-debug" if build.with? 'debug'
|
args << "--enable-debug" if build.with? 'debug'
|
||||||
args << "--enable-spdy" if build.with? 'spdy'
|
args << "--enable-spdy" if build.with? 'spdy'
|
||||||
args << "--with-openssl=#{Formula.factory('openssl').opt_prefix}" if build.with? 'spdy'
|
args << "--with-openssl=#{Formula["openssl"].opt_prefix}" if build.with? 'spdy'
|
||||||
system "./configure", *args
|
system "./configure", *args
|
||||||
system "make", "install"
|
system "make", "install"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue