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.rb11
1 files changed, 6 insertions, 5 deletions
diff --git a/Library/Formula/gnuplot.rb b/Library/Formula/gnuplot.rb
index 99fe68b2e..9b2886165 100644
--- a/Library/Formula/gnuplot.rb
+++ b/Library/Formula/gnuplot.rb
@@ -4,8 +4,14 @@ class Gnuplot < Formula
homepage 'http://www.gnuplot.info'
url 'http://downloads.sourceforge.net/project/gnuplot/gnuplot/4.6.0/gnuplot-4.6.0.tar.gz'
md5 '8e6e92b4596ea0eb75e16a57fc79efec'
+
head 'cvs://:pserver:anonymous@gnuplot.cvs.sourceforge.net:/cvsroot/gnuplot:gnuplot', :using => :cvs
+ if ARGV.build_head?
+ depends_on :automake
+ depends_on :libtool
+ end
+
depends_on 'pkg-config' => :build
depends_on 'readline'
depends_on 'pango'
@@ -15,11 +21,6 @@ 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."],