aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Kühl2010-07-31 03:18:04 +0200
committerAdam Vandenberg2010-08-03 06:58:11 -0700
commit63f549ee490302aed653f7ccc2e6f3e498b152d7 (patch)
treea83275e03ff0a33a2b29686c75324032e1e9484f
parent2859b0c3cdeb2753e7ac87b5460bb82132b3538f (diff)
downloadhomebrew-63f549ee490302aed653f7ccc2e6f3e498b152d7.tar.bz2
Fix imagemagick formula for Snow Leopard with X11.
1. The path to freetype-config had the wrong case. 2. Installing Xquartz adds a different freetype-config to PATH which shadows the one with the libs we're trying to link against. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/imagemagick.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/imagemagick.rb b/Library/Formula/imagemagick.rb
index f78bdcce6..1defa2963 100644
--- a/Library/Formula/imagemagick.rb
+++ b/Library/Formula/imagemagick.rb
@@ -42,7 +42,7 @@ class Imagemagick <Formula
def install
# Add to PATH for freetype-config on Snow Leopard
- ENV.append 'PATH', '/usr/x11/bin', ':'
+ ENV.prepend 'PATH', '/usr/X11/bin', ':'
ENV.libpng
ENV.O3 # takes forever otherwise