aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/dwdiff.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2014-02-24 21:22:07 -0800
committerAdam Vandenberg2014-02-27 08:21:16 -0800
commit90561c19fef0f42c3e218080552327774ccf19bc (patch)
treea965f0892f615bf387bf7cca42b99d022a36f281 /Library/Formula/dwdiff.rb
parent740676f8886261142aa484e2e704e8e8109f25dc (diff)
downloadhomebrew-90561c19fef0f42c3e218080552327774ccf19bc.tar.bz2
dwdiff: use Formula[]
Diffstat (limited to 'Library/Formula/dwdiff.rb')
-rw-r--r--Library/Formula/dwdiff.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/dwdiff.rb b/Library/Formula/dwdiff.rb
index 53b2e611b..2fb257f9d 100644
--- a/Library/Formula/dwdiff.rb
+++ b/Library/Formula/dwdiff.rb
@@ -9,8 +9,8 @@ class Dwdiff < Formula
depends_on 'icu4c'
def install
- gettext = Formula.factory('gettext')
- icu4c = Formula.factory('icu4c')
+ gettext = Formula['gettext']
+ icu4c = Formula['icu4c']
ENV.append "CFLAGS", "-I#{gettext.include} -I#{icu4c.include}"
ENV.append "LDFLAGS", "-L#{gettext.lib} -L#{icu4c.lib}"
system "./configure", "--prefix=#{prefix}"