Skip to content

Commit

Permalink
ghostscript: add dep on little-cms2
Browse files Browse the repository at this point in the history
  • Loading branch information
jacknagel committed Nov 11, 2013
1 parent ad0d353 commit 89c1f60
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Formula/ghostscript.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -50,11 +51,8 @@ def move_included_source_copies
# 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
Expand Down

0 comments on commit 89c1f60

Please sign in to comment.