aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gnu-getopt.rb
diff options
context:
space:
mode:
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