cairo: depend on freetype when building without X

harfbuzz won't build without cairo-ft.
master
Misty De Meo 2013-06-02 19:35:36 -05:00
parent e8a3879d6a
commit 2e64384f82
1 changed files with 2 additions and 0 deletions

View File

@ -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