From a1c0cc67178136b455dd207b3dbdae12723e3198 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 4 Sep 2012 18:15:31 -0500 Subject: Avoid referencing MACOS_VERSION directly Signed-off-by: Jack Nagel --- Library/Formula/ghostscript.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula/ghostscript.rb') 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 -- cgit v1.2.3