aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ghostscript.rb
diff options
context:
space:
mode:
authorJack Nagel2012-09-04 18:15:31 -0500
committerJack Nagel2012-09-04 18:15:31 -0500
commita1c0cc67178136b455dd207b3dbdae12723e3198 (patch)
treef0089511762198e151f50213c2d4ff5b3c243c1e /Library/Formula/ghostscript.rb
parent5bd2bac511ddabfbe52770cdb35a574009de3054 (diff)
downloadhomebrew-a1c0cc67178136b455dd207b3dbdae12723e3198.tar.bz2
Avoid referencing MACOS_VERSION directly
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/ghostscript.rb')
-rw-r--r--Library/Formula/ghostscript.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/ghostscript.rb b/Library/Formula/ghostscript.rb
index 4c999f0e3..372b2dc50 100644
--- a/Library/Formula/ghostscript.rb
+++ b/Library/Formula/ghostscript.rb
@@ -35,7 +35,7 @@ class Ghostscript < Formula
# the version included in ghostscript, we get errors
# Taken from the MacPorts portfile - http://bit.ly/ghostscript-portfile
renames = %w(jpeg libpng tiff zlib lcms2 jbig2dec)
- renames << "freetype" if 10.7 <= MACOS_VERSION
+ renames << "freetype" if MacOS.version >= :lion
renames.each do |lib|
mv lib, "#{lib}_local"
end