From ec86fe923f92ffbc7fa4d2a0265b18c617201aba Mon Sep 17 00:00:00 2001 From: Max Howell Date: Tue, 6 Oct 2009 12:16:43 +0100 Subject: Fix ImageMagick for non /usr/local installs Closes #85. Closes #86. Removing .la files is proving problematic in places. But oh well. Homebrew is all about optimizing init? --- Library/Formula/imagemagick.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Library/Formula') diff --git a/Library/Formula/imagemagick.rb b/Library/Formula/imagemagick.rb index 07e01b305..4f3761a9f 100644 --- a/Library/Formula/imagemagick.rb +++ b/Library/Formula/imagemagick.rb @@ -13,6 +13,10 @@ class Imagemagick :optional depends_on 'ghostscript' => :recommended + def skip_clean? path + path.extname == '.la' + end + def install ENV.libpng ENV.deparallelize -- cgit v1.2.3