aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/gnuplot.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/gnuplot.rb b/Library/Formula/gnuplot.rb
index 32a64b73d..90694c08e 100644
--- a/Library/Formula/gnuplot.rb
+++ b/Library/Formula/gnuplot.rb
@@ -6,7 +6,8 @@ class Gnuplot <Formula
md5 'e708665bd512153ad5c35252fe499059'
depends_on 'readline'
- depends_on 'gd'
+ depends_on 'gd' unless ARGV.include? "--nogd"
+ depends_on 'pdflib-lite' if ARGV.include? "--pdf"
def install
ENV.x11