From 65b6812e5d08d6f89b3a040dea0363cd25bdd1a3 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Mon, 24 Feb 2014 22:30:34 -0800 Subject: gnu-getopt: use Formula[] --- Library/Formula/gnu-getopt.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3