diff options
| -rw-r--r-- | Library/Formula/optipng.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Formula/optipng.rb b/Library/Formula/optipng.rb index 3feaf8d36..6e44d6efa 100644 --- a/Library/Formula/optipng.rb +++ b/Library/Formula/optipng.rb @@ -6,11 +6,11 @@ class Optipng < Formula md5 '9df5fa7bb45ae096ed6c6e0d8dc43dc7' def install - inreplace 'src/scripts/gcc.mak.in' do |s| - s.gsub! '/usr/local', prefix + inreplace 'src/scripts/unix.mak.in' do |s| s.change_make_var! 'mandir', man end - system "./configure", "-with-system-zlib" + + system "./configure", "--with-system-zlib", "--prefix=#{prefix}" system "make install" end end |
