aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/imagemagick.rb
diff options
context:
space:
mode:
authorJack Nagel2013-10-22 20:47:37 -0500
committerJack Nagel2013-10-22 20:47:37 -0500
commitfce53bc1f572694a5a36463626b4d48131ccb01a (patch)
tree3cdf8bab01e5e8fb69d6d20a8265eb13dd0b6608 /Library/Formula/imagemagick.rb
parent1a6f9110592ec21eeb8efd4ce3476329e176f2bb (diff)
downloadhomebrew-fce53bc1f572694a5a36463626b4d48131ccb01a.tar.bz2
Avoid comparing MacOS.version to floats
Diffstat (limited to 'Library/Formula/imagemagick.rb')
-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 f23a99b64..5df213655 100644
--- a/Library/Formula/imagemagick.rb
+++ b/Library/Formula/imagemagick.rb
@@ -45,7 +45,7 @@ class Imagemagick < Formula
depends_on 'webp' => :optional
opoo '--with-ghostscript is not recommended' if build.with? 'ghostscript'
- if build.with? 'openmp' and (MacOS.version == 10.5 or ENV.compiler == :clang)
+ if build.with? 'openmp' and (MacOS.version == :leopard or ENV.compiler == :clang)
opoo '--with-openmp is not supported on Leopard or with Clang'
end