aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornibbles 2bits2012-08-31 10:16:19 -0700
committerAdam Vandenberg2012-08-31 10:56:14 -0700
commit65ada2db0b03ff0eb229bdf4090b42883e84850d (patch)
treeda9ea32522f835fc58a376cfd8d94433c66a58b3
parent69c3bd22c4199e53733bafc21abb7b98f922e4f4 (diff)
downloadhomebrew-65ada2db0b03ff0eb229bdf4090b42883e84850d.tar.bz2
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 <flangy@gmail.com>
-rw-r--r--Library/Formula/sam2p.rb15
1 files changed, 11 insertions, 4 deletions
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"