aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMisty De Meo2013-06-02 19:35:36 -0500
committerMisty De Meo2013-06-02 19:35:36 -0500
commit6738071b57e1d4d4c6773b876e6d0440785282d1 (patch)
treec986175d95fbc26a5ae7294fbefb9154b9256d1a
parent27ba0002324a13c6ed34c72cb48227c548370754 (diff)
downloadhomebrew-6738071b57e1d4d4c6773b876e6d0440785282d1.tar.bz2
cairo: depend on freetype when building without X
harfbuzz won't build without cairo-ft.
-rw-r--r--Library/Formula/cairo.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/cairo.rb b/Library/Formula/cairo.rb
index 08f94dd1b..d8a1e4690 100644
--- a/Library/Formula/cairo.rb
+++ b/Library/Formula/cairo.rb
@@ -16,6 +16,8 @@ class Cairo < Formula
depends_on 'pkg-config' => :build
depends_on 'xz'=> :build
+ # harfbuzz requires cairo-ft to build
+ depends_on 'freetype' if build.without? 'x'
depends_on :libpng
depends_on 'pixman'
depends_on 'glib' => :optional