diff options
| author | Adam Vandenberg | 2014-02-25 06:27:54 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2014-02-27 08:21:19 -0800 |
| commit | 415472846962cf904041fdba0d69b7e56a6b3097 (patch) | |
| tree | 4d342cc53bff5766d1525b09e20702f4ba6e84d4 | |
| parent | c36b02f0b16f3e6f4b0df5eeb0dfc9cf5829952b (diff) | |
| download | homebrew-415472846962cf904041fdba0d69b7e56a6b3097.tar.bz2 | |
glib: use Formula[]
| -rw-r--r-- | Library/Formula/glib.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/glib.rb b/Library/Formula/glib.rb index a6cb6170d..1de7e9329 100644 --- a/Library/Formula/glib.rb +++ b/Library/Formula/glib.rb @@ -76,7 +76,7 @@ class Glib < Formula # `pkg-config --libs glib-2.0` includes -lintl, and gettext itself does not # have a pkgconfig file, so we add gettext lib and include paths here. - gettext = Formula.factory('gettext').opt_prefix + gettext = Formula["gettext"].opt_prefix inreplace lib+'pkgconfig/glib-2.0.pc' do |s| s.gsub! 'Libs: -L${libdir} -lglib-2.0 -lintl', "Libs: -L${libdir} -lglib-2.0 -L#{gettext}/lib -lintl" |
