aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2014-05-08 15:10:22 -0700
committerAdam Vandenberg2014-05-08 15:10:35 -0700
commit1a5e42a03482d2ad1ff22458a7b19af6af23f56c (patch)
tree06bfe9735edaba330dab16f0ed84a9e7bc30d47b /Library
parent69404374879da800755d2d52d2607152cb022f65 (diff)
downloadhomebrew-1a5e42a03482d2ad1ff22458a7b19af6af23f56c.tar.bz2
goaccess: fix HEAD build
Closes #29069.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/goaccess.rb9
1 files changed, 7 insertions, 2 deletions
diff --git a/Library/Formula/goaccess.rb b/Library/Formula/goaccess.rb
index 4d2892462..30a2a4949 100644
--- a/Library/Formula/goaccess.rb
+++ b/Library/Formula/goaccess.rb
@@ -5,15 +5,20 @@ class Goaccess < Formula
url 'https://downloads.sourceforge.net/project/goaccess/0.7/goaccess-0.7.tar.gz'
sha1 '1a887dc7182c91726137aaf6a4627efdd82d988e'
- head 'https://github.com/allinurl/goaccess.git'
-
option 'enable-geoip', "Enable IP location information using GeoIP"
+ head do
+ url "https://github.com/allinurl/goaccess.git"
+ depends_on "autoconf" => :build
+ depends_on "automake" => :build
+ end
+
depends_on 'pkg-config' => :build
depends_on 'glib'
depends_on 'geoip' if build.include? "enable-geoip"
def install
+ system "autoreconf", "-vfi" if build.head?
args = %W[
--disable-debug
--disable-dependency-tracking