gnu-getopt: use Formula[]
This commit is contained in:
parent
794d0283b0
commit
bf9d0d7715
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue