aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-07-13 22:56:45 -0500
committerJack Nagel2013-07-13 22:56:45 -0500
commiteb76eb73b8c553c134dbd11511ff3db8ce901d5f (patch)
treeafbf7c754e0fa8b08e8f6744efa8cd4d762f96db /Library/Formula
parentf41ac7bd0427949351a37b019a6411207d9bc6e8 (diff)
downloadhomebrew-eb76eb73b8c553c134dbd11511ff3db8ce901d5f.tar.bz2
cogl: fix deps
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/cogl.rb6
1 files changed, 3 insertions, 3 deletions
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