aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/json-c.rb
diff options
context:
space:
mode:
authorJack Nagel2013-04-09 16:32:22 -0500
committerJack Nagel2013-04-09 16:33:57 -0500
commit352d61cb6a1cd8b23b3c25e86c44ad5491973251 (patch)
treec003782d6d95742093f7019097f4aea9d2e21844 /Library/Formula/json-c.rb
parent2186333d6475223276d8631e98307b33eb230df1 (diff)
downloadhomebrew-352d61cb6a1cd8b23b3c25e86c44ad5491973251.tar.bz2
Revert "json-c 0.11"
Apparently the shared library has been split into two libraries on 0.11, which breaks things that are dependent on the old structure (e.g. postgis). See #19068. This reverts commit a37b4561a6f1664888568ad4c0c44e44d38bee18.
Diffstat (limited to 'Library/Formula/json-c.rb')
-rw-r--r--Library/Formula/json-c.rb11
1 files changed, 6 insertions, 5 deletions
diff --git a/Library/Formula/json-c.rb b/Library/Formula/json-c.rb
index de720adf4..e888bdcc8 100644
--- a/Library/Formula/json-c.rb
+++ b/Library/Formula/json-c.rb
@@ -2,15 +2,16 @@ require 'formula'
class JsonC < Formula
homepage 'https://github.com/json-c/json-c/wiki'
- url 'https://github.com/json-c/json-c/archive/json-c-0.11-20130402.tar.gz'
- version '0.11'
- sha1 '1910e10ea57a743ec576688700df4a0cabbe64ba'
+ url 'https://github.com/downloads/json-c/json-c/json-c-0.10.tar.gz'
+ sha1 'f90f643c8455da21d57b3e8866868a944a93c596'
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
-
- ENV.deparallelize
system "make install"
+
+ # The Makefile forgets to install this header. This is fixed upstream and
+ # can be pulled on the next release.
+ (include/'json').install 'json_object_iterator.h'
end
end