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 #8353.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
This commit is contained in:
Nibbles 2bits authored and Charlie Sharpsteen committed 2011-11-11 15:25:45 -08:00
1 parent 6a8bb945ce
commit 39e702f2d7
1 file changed
+2 -6
+2 -6
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