diff options
| author | Adam Vandenberg | 2014-02-24 21:51:06 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2014-02-27 08:21:17 -0800 |
| commit | cd6f909d0a0683e9e28eea87b32f84cf823375b0 (patch) | |
| tree | 725658a49c1aebd922bf53d4b1f67a70d253df7e /Library/Formula | |
| parent | 56000c11c9ca4f82e9ada4a049743360740d21a6 (diff) | |
| download | homebrew-cd6f909d0a0683e9e28eea87b32f84cf823375b0.tar.bz2 | |
gd: use Formula[]
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gd.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Formula/gd.rb b/Library/Formula/gd.rb index a36e6be60..bb11cc330 100644 --- a/Library/Formula/gd.rb +++ b/Library/Formula/gd.rb @@ -63,19 +63,19 @@ class Gd < Formula end if build.with? "jpeg" - args << "--with-jpeg=#{Formula.factory("jpeg").opt_prefix}" + args << "--with-jpeg=#{Formula["jpeg"].opt_prefix}" else args << "--without-jpeg" end if build.with? "libtiff" - args << "--with-tiff=#{Formula.factory("libtiff").opt_prefix}" + args << "--with-tiff=#{Formula["libtiff"].opt_prefix}" else args << "--without-tiff" end if build.with? "libvpx" - args << "--with-vpx=#{Formula.factory("libvpx").opt_prefix}" + args << "--with-vpx=#{Formula["libvpx"].opt_prefix}" else args << "--without-vpx" end |
