diff options
| author | Jack Nagel | 2013-07-13 22:56:45 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-07-13 22:56:45 -0500 |
| commit | eb76eb73b8c553c134dbd11511ff3db8ce901d5f (patch) | |
| tree | afbf7c754e0fa8b08e8f6744efa8cd4d762f96db /Library/Formula | |
| parent | f41ac7bd0427949351a37b019a6411207d9bc6e8 (diff) | |
| download | homebrew-eb76eb73b8c553c134dbd11511ff3db8ce901d5f.tar.bz2 | |
cogl: fix deps
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/cogl.rb | 6 |
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 |
