aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/grass.rb
diff options
context:
space:
mode:
authorMisty De Meo2013-07-09 19:30:15 -0700
committerMisty De Meo2013-07-10 01:51:09 -0700
commit7fc8cc09a3a3c633eb20f4419eb373c035bf1aff (patch)
tree317c61940397562a5a36f0c1e5e37c23f27dfe31 /Library/Formula/grass.rb
parent4716464b2704fcebc3677566b0af3174191b28e1 (diff)
downloadhomebrew-7fc8cc09a3a3c633eb20f4419eb373c035bf1aff.tar.bz2
Replace == :leopard with <= :leopard
Diffstat (limited to 'Library/Formula/grass.rb')
-rw-r--r--Library/Formula/grass.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/grass.rb b/Library/Formula/grass.rb
index 6a5c3ace7..461a86258 100644
--- a/Library/Formula/grass.rb
+++ b/Library/Formula/grass.rb
@@ -20,7 +20,7 @@ class Grass < Formula
depends_on 'wxmac' => :recommended # prefer over OS X's version because of 64bit
depends_on :postgresql => :optional
depends_on :mysql => :optional
- depends_on "cairo" if MacOS.version == :leopard
+ depends_on "cairo" if MacOS.version <= :leopard
depends_on :x11 # needs to find at least X11/include/GL/gl.h
# Patches that files are not installed outside of the prefix.
@@ -83,7 +83,7 @@ class Grass < Formula
end
# Deal with Cairo support
- if MacOS.version == :leopard
+ if MacOS.version <= :leopard
cairo = Formula.factory('cairo')
args << "--with-cairo-includes=#{cairo.include}/cairo"
args << "--with-cairo-libs=#{cairo.lib}"