aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorBirger J. Nordølum2012-06-10 17:22:12 +0200
committerJack Nagel2012-07-01 12:48:46 -0500
commit93324662f2ffc8e019f91d002f49837064cb0ba3 (patch)
tree2b19ffbfc9a3ac87859d3bb21a4e74d36a38578d /Library
parenta2d4d9d832e60e2b007990f394b22e77b6dfa3ba (diff)
downloadhomebrew-93324662f2ffc8e019f91d002f49837064cb0ba3.tar.bz2
pixman 0.26.2
Added an --disable-mmx option to make it compile with Clang. Stated as not needed for Macs: https://trac.macports.org/ticket/34671 Closes #12722. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/pixman.rb14
1 files changed, 9 insertions, 5 deletions
diff --git a/Library/Formula/pixman.rb b/Library/Formula/pixman.rb
index a7710608a..d65ebf9a4 100644
--- a/Library/Formula/pixman.rb
+++ b/Library/Formula/pixman.rb
@@ -2,8 +2,8 @@ require 'formula'
class Pixman < Formula
homepage 'http://cairographics.org/'
- url 'http://cairographics.org/releases/pixman-0.24.4.tar.gz'
- sha1 'efaa09789128ebc42d17a11d2e350b7217a7cd05'
+ url 'http://cairographics.org/releases/pixman-0.26.2.tar.gz'
+ sha256 'c9ab554b5160679d958bfa1753cb9e6edd1e53c4745c963a1394eea4f0b13ce2'
depends_on 'pkg-config' => :build
depends_on :x11
@@ -24,10 +24,14 @@ class Pixman < Formula
def install
ENV.universal_binary if ARGV.build_universal?
+ args = %W[--disable-dependency-tracking
+ --disable-gtk
+ --prefix=#{prefix}]
+
+ args << "--disable-mmx" if ENV.compiler == :clang
+
# Disable gtk as it is only used to build tests
- system "./configure", "--disable-dependency-tracking",
- "--prefix=#{prefix}",
- "--enable-gtk=no"
+ system "./configure", *args
system "make install"
end
end