From 392e27982f17732f20eec2a4a6d111685a1a7db7 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 14 Nov 2014 14:35:07 -0600 Subject: goaccess: update geoip option --- Library/Formula/goaccess.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Library/Formula') 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" -- cgit v1.2.3