diff options
| author | Charlie Sharpsteen | 2012-02-16 12:41:29 -0800 |
|---|---|---|
| committer | Charlie Sharpsteen | 2012-02-16 12:43:03 -0800 |
| commit | fef62e271602ba8ae6e84a74a5db6d6d86239866 (patch) | |
| tree | 2e107d643425f05134fb2838406d9a6e40ea18d1 /Library/Formula | |
| parent | 22e095ef37802b562425c67fbd45f3ff0978f8bc (diff) | |
| download | homebrew-fef62e271602ba8ae6e84a74a5db6d6d86239866.tar.bz2 | |
Cairo: Don't build with XCB support on Leopard
The version of XCB included with Leopard is too old to build against.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/cairo.rb | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Library/Formula/cairo.rb b/Library/Formula/cairo.rb index 19e989f2b..381c5ee94 100644 --- a/Library/Formula/cairo.rb +++ b/Library/Formula/cairo.rb @@ -14,10 +14,14 @@ class Cairo < Formula fails_with_llvm "Throws an 'lto could not merge' error during build.", :build => 2336 def install - system "./configure", "--disable-dependency-tracking", - "--prefix=#{prefix}", - "--with-x", - "--enable-xcb" + args = %W[ + --disable-dependency-tracking + --prefix=#{prefix} + --with-x + ] + args << '--enable-xcb' unless MacOS.leopard? + + system "./configure", *args system "make install" end end |
