diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/cairo.rb | 7 | ||||
| -rw-r--r-- | Library/Formula/pango.rb | 6 |
2 files changed, 11 insertions, 2 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 diff --git a/Library/Formula/pango.rb b/Library/Formula/pango.rb index 6a57a9d04..9832b58c8 100644 --- a/Library/Formula/pango.rb +++ b/Library/Formula/pango.rb @@ -38,7 +38,11 @@ class Pango < Formula --disable-introspection ] - args << '--with-x' unless build.include? 'without-x' + if build.include? 'without-x' + args << '--without-x' + else + args << '--with-x' + end system "./configure", *args system "make" |
