gnuplot: add missing dependencies

This commit is contained in:
Adam Vandenberg 2014-05-06 17:46:43 -07:00
parent 468281c8f2
commit 9b4d37fbd8

View file

@ -3,7 +3,6 @@ require 'formula'
class LuaRequirement < Requirement
fatal true
default_formula 'lua'
satisfy { which 'lua' }
end
@ -35,6 +34,10 @@ class Gnuplot < Formula
depends_on 'pkg-config' => :build
depends_on LuaRequirement unless build.include? 'nolua'
depends_on 'readline'
depends_on "libpng"
depends_on "jpeg"
depends_on "libtiff"
depends_on "fontconfig"
depends_on 'pango' if build.include? 'cairo' or build.include? 'wx'
depends_on :x11 if build.with? "x"
depends_on 'pdflib-lite' if build.include? 'pdf'