aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorCarmine Paolino2010-03-23 11:58:39 +0100
committerAdam Vandenberg2010-06-15 21:14:03 -0700
commitaf412ca4dc5f403ba5bddc0a07264b0d0872f30d (patch)
tree774affcddefae0e11aae640ededfadacd328260f /Library/Formula
parent04f57c180f29ad5bf8a570e070ea5b7b95d6ee1d (diff)
downloadhomebrew-af412ca4dc5f403ba5bddc0a07264b0d0872f30d.tar.bz2
Opt-in pdf support with `--pdf` and opt-out gd with `--nogd`
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-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