aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gnuplot.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/gnuplot.rb')
-rw-r--r--Library/Formula/gnuplot.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/gnuplot.rb b/Library/Formula/gnuplot.rb
index 02a94fcfb..193e94fce 100644
--- a/Library/Formula/gnuplot.rb
+++ b/Library/Formula/gnuplot.rb
@@ -14,6 +14,11 @@ class Gnuplot < Formula
depends_on 'gd' unless ARGV.include? "--nogd"
depends_on 'wxmac' if ARGV.include? "--wx"
+ if ARGV.build_head? and MacOS.xcode_version >= "4.3"
+ depends_on "automake" => :build
+ depends_on "libtool" => :build
+ end
+
def options
[
["--pdf", "Build with pdflib-lite support."],