From 65ada2db0b03ff0eb229bdf4090b42883e84850d Mon Sep 17 00:00:00 2001 From: nibbles 2bits Date: Fri, 31 Aug 2012 10:16:19 -0700 Subject: sam2p 0.49.1 Upgrade sam2p to version 0.49.1. Add `--disable-debug` Add `fails_with :clang` Works well with superenv. Fixes #14592 Closes #14599. Signed-off-by: Adam Vandenberg --- Library/Formula/sam2p.rb | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/sam2p.rb b/Library/Formula/sam2p.rb index 7bd56bfde..01c9f09fd 100644 --- a/Library/Formula/sam2p.rb +++ b/Library/Formula/sam2p.rb @@ -1,13 +1,20 @@ require 'formula' class Sam2p < Formula - url 'http://sam2p.googlecode.com/files/sam2p-0.49.tar.gz' homepage 'http://code.google.com/p/sam2p/' - md5 '72387e3e3897580fb5ae439713e75177' + url 'http://sam2p.googlecode.com/files/sam2p-0.49.1.tar.gz' + sha1 '5922e6029e2ed4e524066080476e02ddfdbcc18e' + + fails_with :clang do + build 421 + cause "treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated" + end def install - system "./configure", "--enable-lzw", "--enable-gif", - "--prefix=#{prefix}" + system "./configure", "--disable-debug", + "--prefix=#{prefix}", + "--enable-lzw", + "--enable-gif" system "make" bin.install "sam2p" -- cgit v1.2.3