aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/geos.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/geos.rb b/Library/Formula/geos.rb
index 1a8ad1e89..c28726e65 100644
--- a/Library/Formula/geos.rb
+++ b/Library/Formula/geos.rb
@@ -5,7 +5,10 @@ class Geos < Formula
url 'http://download.osgeo.org/geos/geos-3.3.5.tar.bz2'
sha1 '791e2b36a9a6114c7f213fae3fc995960c35a428'
+ option :universal
+
def install
+ ENV.universal_binary if build.universal?
# fixes compile error: missing symbols being optimized out using llvm.
if ENV.compiler == :llvm then
inreplace 'src/geom/Makefile.in', 'CFLAGS = @CFLAGS@', 'CFLAGS = @CFLAGS@ -O1'