From ea14928d80d0800623fd9345ed5cfa86ce2ffa90 Mon Sep 17 00:00:00 2001 From: nibbles 2bits Date: Wed, 8 Aug 2012 08:38:11 -0700 Subject: libdvbpsi 0.2.2 Upgrade to version 0.2.2. Add an `inreplace` to remove `-06` that `configure` tries to add to the `CFLAGS`. Tested on ML with XCode-4.4.1. Closes #14054. Signed-off-by: Adam Vandenberg --- Library/Formula/libdvbpsi.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/libdvbpsi.rb b/Library/Formula/libdvbpsi.rb index 23cad7a78..b0e6db539 100644 --- a/Library/Formula/libdvbpsi.rb +++ b/Library/Formula/libdvbpsi.rb @@ -1,11 +1,13 @@ require 'formula' class Libdvbpsi < Formula - url 'http://download.videolan.org/pub/libdvbpsi/0.1.7/libdvbpsi-0.1.7.tar.bz2' - md5 'af419575719e356b908b0c6946499052' homepage 'http://www.videolan.org/developers/libdvbpsi.html' + url 'http://download.videolan.org/pub/libdvbpsi/0.2.2/libdvbpsi-0.2.2.tar.bz2' + sha1 '562d46ce256a678309f7c39be8cf31eea4bf6757' def install + # Clang doesn't recognize O6. Just remove it. Fixes a build error. + inreplace 'configure', 'CFLAGS="${CFLAGS} -O6"', 'CFLAGS="${CFLAGS}"' system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--enable-release" system "make install" end -- cgit v1.2.3