diff options
| author | Jack Nagel | 2013-11-11 09:52:15 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-11-11 09:52:31 -0600 |
| commit | 6e0a1ffe9e58bbd7e78706d7372c37809a30a00f (patch) | |
| tree | a8f012ffc956836468716355b03d717d4028d3de /Library/Formula/ghostscript.rb | |
| parent | 8bb1edfc72bed72abacda3815cdc49654fa2d7c3 (diff) | |
| download | homebrew-6e0a1ffe9e58bbd7e78706d7372c37809a30a00f.tar.bz2 | |
ghostscript: add dep on little-cms2
Diffstat (limited to 'Library/Formula/ghostscript.rb')
| -rw-r--r-- | Library/Formula/ghostscript.rb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Formula/ghostscript.rb b/Library/Formula/ghostscript.rb index 10731cc71..13dae1e8f 100644 --- a/Library/Formula/ghostscript.rb +++ b/Library/Formula/ghostscript.rb @@ -25,6 +25,7 @@ class Ghostscript < Formula depends_on 'jpeg' depends_on 'libtiff' depends_on 'jbig2dec' + depends_on 'little-cms2' depends_on :libpng depends_on :x11 => ['2.7.2', :optional] depends_on 'djvulibre' if build.with? 'djvu' @@ -50,11 +51,8 @@ class Ghostscript < Formula # If the install version of any of these doesn't match # the version included in ghostscript, we get errors # Taken from the MacPorts portfile - http://bit.ly/ghostscript-portfile - renames = %w(jpeg libpng tiff zlib jbig2dec) - renames << "freetype" if MacOS.version >= :lion - renames.each do |lib| - mv lib, "#{lib}_local" - end + renames = %w{freetype jbig2dec jpeg lcms2 libpng tiff zlib} + renames.each { |lib| mv lib, "#{lib}_local" } end def install |
