diff options
| author | Jack Nagel | 2014-11-14 14:35:07 -0600 |
|---|---|---|
| committer | Jack Nagel | 2014-11-14 14:46:44 -0600 |
| commit | 392e27982f17732f20eec2a4a6d111685a1a7db7 (patch) | |
| tree | 788cd2ba17f20b21a0ff09e0ea6d9ea69312c0d0 /Library/Formula | |
| parent | 0bcc09a5915112cb86633d7b034ca43834a42d72 (diff) | |
| download | homebrew-392e27982f17732f20eec2a4a6d111685a1a7db7.tar.bz2 | |
goaccess: update geoip option
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/goaccess.rb | 7 |
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" |
