openlitespeed: use Formula[]

This commit is contained in:
Adam Vandenberg 2014-02-26 20:28:58 -08:00
parent 976e47988d
commit c5270e6242

View file

@ -20,7 +20,7 @@ class Openlitespeed < Formula
args = ["--disable-dependency-tracking", "--prefix=#{prefix}"]
args << "--enable-debug" if build.with? 'debug'
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 "make", "install"
end