aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2013-10-18 18:31:10 -0700
committerAdam Vandenberg2013-10-18 18:32:23 -0700
commit58ad7af256e7152503849a215fd97d17e8ba900a (patch)
treee4f90badb887dab8b56d8065d5abdf8d000c85b7 /Library/Formula
parent01f5dc0dce73806e9c203e8d2687455f2b0e2d5e (diff)
downloadhomebrew-58ad7af256e7152503849a215fd97d17e8ba900a.tar.bz2
jq: fix HEAD
HEAD does not compile on Snow Leopard, but may work on newer versions of OS X Closes #23166.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/jq.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/jq.rb b/Library/Formula/jq.rb
index cf1a77e6c..388d43b8b 100644
--- a/Library/Formula/jq.rb
+++ b/Library/Formula/jq.rb
@@ -7,7 +7,12 @@ class Jq < Formula
head 'https://github.com/stedolan/jq.git'
+ depends_on 'autoconf' => :build if build.head?
+ depends_on 'automake' => :build if build.head?
+ depends_on 'bison' => :build if build.head?
+
def install
+ system "autoreconf -i" if build.head?
system "./configure"
system "make"
bin.install 'jq'