Depend on libpng if X11 not installed

This commit is contained in:
Max Howell 2010-03-04 16:33:31 +00:00
parent 2cd2f272cf
commit a572179acc

View file

@ -25,6 +25,7 @@ class Imagemagick <Formula
depends_on 'little-cms' => :optional
depends_on 'jasper' => :optional
depends_on 'ghostscript' => :recommended if ghostscript_srsly? and x11?
depends_on 'libpng' unless x11?
def skip_clean? path
path.extname == '.la'