aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gnu-getopt.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2014-02-24 22:30:34 -0800
committerAdam Vandenberg2014-02-27 08:21:17 -0800
commit65b6812e5d08d6f89b3a040dea0363cd25bdd1a3 (patch)
treecf69f90dd2916dc4fe7807de4f5e66362980bc4a /Library/Formula/gnu-getopt.rb
parenta697b9ddce84008e79f5e8db5223ba141564db0a (diff)
downloadhomebrew-65b6812e5d08d6f89b3a040dea0363cd25bdd1a3.tar.bz2
gnu-getopt: use Formula[]
Diffstat (limited to 'Library/Formula/gnu-getopt.rb')
-rw-r--r--Library/Formula/gnu-getopt.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/gnu-getopt.rb b/Library/Formula/gnu-getopt.rb
index 5647a0c14..86a380133 100644
--- a/Library/Formula/gnu-getopt.rb
+++ b/Library/Formula/gnu-getopt.rb
@@ -11,7 +11,7 @@ class GnuGetopt < Formula
def install
inreplace 'Makefile' do |s|
- gettext = Formula.factory 'gettext'
+ gettext = Formula['gettext']
s.change_make_var! "CPPFLAGS", "\\1 -I#{gettext.include}"
s.change_make_var! "LDFLAGS", "\\1 -L#{gettext.lib} -lintl"
end