From 1f32fa43a77d75fe354e9e59bd23e9b9d934e09c Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sat, 7 Jul 2012 11:08:22 -0700 Subject: Use autotools symbols --- Library/Formula/gnuplot.rb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'Library/Formula/gnuplot.rb') 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."], -- cgit v1.2.3