aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorBaptiste Fontaine2014-12-07 18:17:31 +0100
committerJack Nagel2014-12-07 23:27:13 -0500
commitf611e4cd32a51d795921cf987d57eb7f6da8b594 (patch)
tree61eaf6776984086fc60a53b20708daa89d130783 /Library/Formula
parentefd836fb6aad24878aafbf52405116d9743d464e (diff)
downloadhomebrew-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.rb11
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