diff options
| author | Baptiste Fontaine | 2014-12-07 18:17:31 +0100 |
|---|---|---|
| committer | Jack Nagel | 2014-12-07 23:27:13 -0500 |
| commit | f611e4cd32a51d795921cf987d57eb7f6da8b594 (patch) | |
| tree | 61eaf6776984086fc60a53b20708daa89d130783 /Library/Formula | |
| parent | efd836fb6aad24878aafbf52405116d9743d464e (diff) | |
| download | homebrew-f611e4cd32a51d795921cf987d57eb7f6da8b594.tar.bz2 | |
libbpg 0.9.1
Closes #34757.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/libbpg.rb | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/Library/Formula/libbpg.rb b/Library/Formula/libbpg.rb index 78361dc2b..a8cf380bd 100644 --- a/Library/Formula/libbpg.rb +++ b/Library/Formula/libbpg.rb @@ -2,8 +2,8 @@ require "formula" class Libbpg < Formula homepage "http://bellard.org/bpg/" - url "http://bellard.org/bpg/libbpg-0.9.tar.gz" - sha1 "d40209384adf517c773a7a28cec0d4759051bf2c" + url "http://bellard.org/bpg/libbpg-0.9.1.tar.gz" + sha1 "0ece88372e178985d3327bbb7a0c94947586b3f1" bottle do cellar :any @@ -22,13 +22,8 @@ class Libbpg < Formula s.gsub! "#include <malloc.h>", "#include <malloc/malloc.h>" end - inreplace "Makefile" do |s| - s.gsub! "--gc-sections", "-dead_strip" - s.gsub! "LIBS:=-lrt -lm -lpthread", "LIBS:=-lm -lpthread" - end - bin.mkpath - system "make", "install", "prefix=#{prefix}" + system "make", "install", "prefix=#{prefix}", "CONFIG_APPLE=y" end test do |
