aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2012-08-24 21:29:59 -0700
committerMike McQuaid2012-08-24 21:30:42 -0700
commit12e68cb3db95b708d23ab23b4693c13679b3f754 (patch)
tree3e60e05bed784c23f571c4896094a9068c31d4a2 /Library
parent4ce8717a18bbec90cc07e07dfa296effabdc7bb4 (diff)
downloadhomebrew-12e68cb3db95b708d23ab23b4693c13679b3f754.tar.bz2
cairo: depend on glib unless we don't want X.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/cairo.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Formula/cairo.rb b/Library/Formula/cairo.rb
index 9cd76b67c..e171712fa 100644
--- a/Library/Formula/cairo.rb
+++ b/Library/Formula/cairo.rb
@@ -14,6 +14,7 @@ class Cairo < Formula
depends_on 'pixman'
depends_on 'pkg-config' => :build
depends_on 'xz'=> :build
+ depends_on 'glib' unless build.include? 'without-x'
depends_on :x11 unless build.include? 'without-x'
# Fixes a build error with clang & universal, where a function was implicit.