aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/nsd.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/nsd.rb b/Library/Formula/nsd.rb
index 683827bfd..8a353399e 100644
--- a/Library/Formula/nsd.rb
+++ b/Library/Formula/nsd.rb
@@ -14,7 +14,7 @@ class Nsd < Formula
def install
args = %W[
--prefix=#{prefix}
- --with-libevent=#{Formula.factory('libevent').opt_prefix}
+ --with-libevent=#{Formula["libevent"].opt_prefix}
]
args << '--enable-root-server' if build.with? 'root-server'