aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorKeenan Brock2012-10-02 16:55:04 -0400
committerAdam Vandenberg2012-10-03 08:37:24 -0700
commit04a761b923aa42ba98e7f05ecb5a272304b52ec1 (patch)
tree577f1eeed902a8ab9ab90b16c2ea0e2006a6e75f /Library/Formula
parenta2f31beb2e0d02473ada5f7801e34dfc3a2d6754 (diff)
downloadhomebrew-04a761b923aa42ba98e7f05ecb5a272304b52ec1.tar.bz2
geos: support --universal
Closes #15254. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-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'