From c255102fc94cd4836a08e3c58e57e41d8250e024 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 2 Sep 2012 01:03:53 -0700 Subject: [PATCH] libgaiagraphics: fix SHA1 and X11 dependency. --- Formula/libgaiagraphics.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Formula/libgaiagraphics.rb b/Formula/libgaiagraphics.rb index b505e608a9..443afae13a 100644 --- a/Formula/libgaiagraphics.rb +++ b/Formula/libgaiagraphics.rb @@ -5,10 +5,11 @@ class Libgaiagraphics < Formula url 'http://www.gaia-gis.it/gaia-sins/gaiagraphics-sources/libgaiagraphics-0.4b.tar.gz' sha1 'd045ad6d22db9e67ba410a62b9398c337786fe53' + depends_on 'pkg-config' => :build depends_on 'libgeotiff' depends_on 'jpeg' - depends_on 'cairo' if MacOS.leopard? - depends_on :x11 + depends_on 'cairo' + depends_on :libpng def install system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"