From 93324662f2ffc8e019f91d002f49837064cb0ba3 Mon Sep 17 00:00:00 2001 From: Birger J. Nordølum Date: Sun, 10 Jun 2012 17:22:12 +0200 Subject: 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 --- Library/Formula/pixman.rb | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'Library') 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 -- cgit v1.2.3