From eb76eb73b8c553c134dbd11511ff3db8ce901d5f Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 13 Jul 2013 22:56:45 -0500 Subject: cogl: fix deps --- Library/Formula/cogl.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Library') diff --git a/Library/Formula/cogl.rb b/Library/Formula/cogl.rb index 049f5ebce..e684138f6 100644 --- a/Library/Formula/cogl.rb +++ b/Library/Formula/cogl.rb @@ -11,10 +11,10 @@ class Cogl < Formula depends_on 'pkg-config' => :build depends_on 'xz' => :build + depends_on 'cairo' => 'with-glib' depends_on 'glib' depends_on 'pango' - depends_on 'cairo' # needs cairo-gobject - depends_on :x11 if MacOS::X11.installed? or not build.include? 'without-x' + depends_on :x11 unless build.without? 'x' def install system "./autogen.sh" if build.head? @@ -23,7 +23,7 @@ class Cogl < Formula --prefix=#{prefix} --disable-introspection ] - args << '--without-x' if build.include? 'without-x' + args << '--without-x' if build.without? 'x' system './configure', *args system "make install" end -- cgit v1.2.3