aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2014-02-26 20:31:44 -0800
committerAdam Vandenberg2014-02-27 08:21:24 -0800
commit5f493c83810fb7a72d3fce401244f363d5230429 (patch)
tree1eb41594389180d7abcf25f4d9d7077e9631d450 /Library/Formula
parent5ffd9861aa95467b0b9fc27edd0b5639c208dd2a (diff)
downloadhomebrew-5f493c83810fb7a72d3fce401244f363d5230429.tar.bz2
pdnsrec: use Formula[]
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/pdnsrec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/pdnsrec.rb b/Library/Formula/pdnsrec.rb
index 4453adfa9..4b8f17d00 100644
--- a/Library/Formula/pdnsrec.rb
+++ b/Library/Formula/pdnsrec.rb
@@ -18,7 +18,7 @@ class Pdnsrec < Formula
# Include Lua if requested
if build.include? 'with-lua'
ENV['LUA'] = "1"
- ENV['LUA_CPPFLAGS_CONFIG'] = "-I#{Formula.factory('lua').opt_prefix}/include"
+ ENV['LUA_CPPFLAGS_CONFIG'] = "-I#{Formula["lua"].opt_prefix}/include"
ENV['LUA_LIBS_CONFIG'] = "-llua"
end