diff options
| author | Jack Nagel | 2012-09-04 18:15:31 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-09-04 18:15:31 -0500 |
| commit | a1c0cc67178136b455dd207b3dbdae12723e3198 (patch) | |
| tree | f0089511762198e151f50213c2d4ff5b3c243c1e /Library/Formula/ghostscript.rb | |
| parent | 5bd2bac511ddabfbe52770cdb35a574009de3054 (diff) | |
| download | homebrew-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.rb | 2 |
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 |
