diff options
| author | Misty De Meo | 2014-02-11 09:39:40 -0800 |
|---|---|---|
| committer | Misty De Meo | 2014-02-11 09:40:07 -0800 |
| commit | c689780f680a775d9515cb1d37aa0a6725a32bf9 (patch) | |
| tree | 11b171b84ae11b058951165b4030eed13c2e43f2 /Library/Formula | |
| parent | 6fd67539ebb6fffdfc689c4fea81804e550eca2e (diff) | |
| download | homebrew-c689780f680a775d9515cb1d37aa0a6725a32bf9.tar.bz2 | |
geoipupdate: fix build on 10.6
Fixes #25865.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/geoipupdate.rb | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/Library/Formula/geoipupdate.rb b/Library/Formula/geoipupdate.rb index 7bb08c264..7c9b1dfb3 100644 --- a/Library/Formula/geoipupdate.rb +++ b/Library/Formula/geoipupdate.rb @@ -7,14 +7,21 @@ class Geoipupdate < Formula head do url 'https://github.com/maxmind/geoipupdate.git' - - depends_on 'autoconf' => :build - depends_on 'automake' => :build - depends_on 'libtool' => :build end + # Because the patch requires regenerating the configure script; + # move these back to the head spec on next release + depends_on 'autoconf' => :build + depends_on 'automake' => :build + depends_on 'libtool' => :build + option :universal + # Fixes use of getline on pre-Lion; will be in next release + def patches + "https://github.com/maxmind/geoipupdate/commit/bdf11969f4c7c6b173466092287a2fdbd485b248.patch" + end unless build.head? + def install ENV.universal_binary if build.universal? @@ -24,7 +31,7 @@ class Geoipupdate < Formula inreplace 'conf/GeoIP.conf.default', 'YOUR_LICENSE_KEY_HERE', '000000000000' inreplace 'conf/GeoIP.conf.default', /^ProductIds .*$/, 'ProductIds 506 533' - system "./bootstrap" if build.head? + system "./bootstrap" system "./configure", "--disable-dependency-tracking", "--disable-silent-rules", |
