geos: Update to 3.3.1

This updates geos to version 3.3.1.  It compiles on 64bit Snow Lep
with XCode-4.0.2, clang-2.0, and gcc-4.2.1.5666.  It continues to
fail_with_llvm as is handled in the previous formula.
EDIT: Now with ENV.gcc and without ENV.O3
EDIT: Now remove all ENV.* leaving fails_with_llvm to sort it.

Closes Homebrew/homebrew#8353.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
master
Nibbles 2bits 2011-10-27 12:55:03 -07:00 committed by Charlie Sharpsteen
parent 9fb7088dba
commit a9087178a3
1 changed files with 2 additions and 6 deletions

View File

@ -1,9 +1,9 @@
require 'formula'
class Geos < Formula
url 'http://download.osgeo.org/geos/geos-3.3.0.tar.bz2'
url 'http://download.osgeo.org/geos/geos-3.3.1.tar.bz2'
homepage 'http://trac.osgeo.org/geos/'
md5 '3301f3d1d747b95749384b8a356b022a'
sha1 '4f89e62c636dbf3e5d7e1bfcd6d9a7bff1bcfa60'
def skip_clean? path
path.extname == '.la'
@ -12,10 +12,6 @@ class Geos < Formula
fails_with_llvm "Some symbols are missing during link step."
def install
ENV.O3
# Force GCC 4.2 instead of LLVM-GCC on Lion, per MacPorts:
# https://trac.macports.org/ticket/30309
ENV.gcc_4_2 if MacOS.lion?
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
end