diff options
| author | Bradley Bell | 2012-10-27 04:00:50 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-10-28 09:20:59 -0700 |
| commit | 08deb7268d30d124b96b77e726345e7ac733ffff (patch) | |
| tree | 5691ccf65c38f2d099a781ff02cb67691eee8397 /Library/Formula/cairo.rb | |
| parent | a6dcc41b3bdd0990db97b726aab064d487a93314 (diff) | |
| download | homebrew-08deb7268d30d124b96b77e726345e7ac733ffff.tar.bz2 | |
pango, cairo: explicitly disable x libs when asked
Closes #15709.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/cairo.rb')
| -rw-r--r-- | Library/Formula/cairo.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Library/Formula/cairo.rb b/Library/Formula/cairo.rb index 4913aba10..8b75f6f37 100644 --- a/Library/Formula/cairo.rb +++ b/Library/Formula/cairo.rb @@ -36,7 +36,12 @@ class Cairo < Formula --prefix=#{prefix} ] - args << '--with-x' unless build.include? 'without-x' + if build.include? 'without-x' + args << '--enable-xlib=no' << '--enable-xlib-xrender=no' + else + args << '--with-x' + end + args << '--enable-xcb=no' if MacOS.version == :leopard system "./configure", *args |
