shmcat: use Formula[]

This commit is contained in:
Adam Vandenberg 2014-02-24 22:56:46 -08:00
parent 76e4e2136d
commit d6b7008c7b

View file

@ -17,7 +17,7 @@ class Shmcat < Formula
]
args << "--disable-ftok" unless build.include? 'with-ftok'
if build.include? 'with-nls'
gettext = Formula.factory('gettext')
gettext = Formula['gettext']
args << "--with-libintl-prefix=#{gettext.include}"
else
args << "--disable-nls"