aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2009-10-06 12:16:43 +0100
committerMax Howell2009-10-06 12:18:26 +0100
commitec86fe923f92ffbc7fa4d2a0265b18c617201aba (patch)
treea99c03984f5591eb885d2ad957bcd5a1b952c542 /Library
parentf050c1ebcc3401d0732989068dcb85edad9b2183 (diff)
downloadhomebrew-ec86fe923f92ffbc7fa4d2a0265b18c617201aba.tar.bz2
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?
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/imagemagick.rb4
1 files changed, 4 insertions, 0 deletions
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 <Formula
depends_on 'little-cms' => :optional
depends_on 'ghostscript' => :recommended
+ def skip_clean? path
+ path.extname == '.la'
+ end
+
def install
ENV.libpng
ENV.deparallelize