aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2014-02-26 20:28:58 -0800
committerAdam Vandenberg2014-02-27 08:21:23 -0800
commitd7b3ade9a3508a9ea61677e5ba41bd1d2d35587a (patch)
tree83302df45c6f90420f325090c94f7b691318248d /Library
parent73243042b82575c506c8f6f109368468df4c3cee (diff)
downloadhomebrew-d7b3ade9a3508a9ea61677e5ba41bd1d2d35587a.tar.bz2
openlitespeed: use Formula[]
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/openlitespeed.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/openlitespeed.rb b/Library/Formula/openlitespeed.rb
index 2929a511c..53dddaae4 100644
--- a/Library/Formula/openlitespeed.rb
+++ b/Library/Formula/openlitespeed.rb
@@ -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