aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-11-14 14:35:07 -0600
committerJack Nagel2014-11-14 14:46:44 -0600
commit392e27982f17732f20eec2a4a6d111685a1a7db7 (patch)
tree788cd2ba17f20b21a0ff09e0ea6d9ea69312c0d0 /Library
parent0bcc09a5915112cb86633d7b034ca43834a42d72 (diff)
downloadhomebrew-392e27982f17732f20eec2a4a6d111685a1a7db7.tar.bz2
goaccess: update geoip option
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/goaccess.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Formula/goaccess.rb b/Library/Formula/goaccess.rb
index 688c2e2c1..f529967e8 100644
--- a/Library/Formula/goaccess.rb
+++ b/Library/Formula/goaccess.rb
@@ -11,7 +11,8 @@ class Goaccess < Formula
sha1 "98e9188ea8aa24f8e51dd046d6003b81c894f53e" => :lion
end
- option "enable-geoip", "Enable IP location information using GeoIP"
+ option "with-geoip", "Enable IP location information using GeoIP"
+ deprecated_option "enable-geoip" => "with-geoip"
head do
url "https://github.com/allinurl/goaccess.git"
@@ -21,7 +22,7 @@ class Goaccess < Formula
depends_on "pkg-config" => :build
depends_on "glib"
- depends_on "geoip" if build.include? "enable-geoip"
+ depends_on "geoip" => :optional
def install
system "autoreconf", "-vfi" if build.head?
@@ -31,7 +32,7 @@ class Goaccess < Formula
--prefix=#{prefix}
]
- args << "--enable-geoip" if build.include? "enable-geoip"
+ args << "--enable-geoip" if build.with? "geoip"
system "./configure", *args
system "make install"