Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

universal flag for geos #15254

Closed
wants to merge 1 commit into from

2 participants

@kbrock

added universal build support for geos

Let me know if this goes ok

Thanks
Keenan

@adamv
Owner

Have you tested this?

@kbrock

Hi Adam,

I installed using:

$ brew install --universal geos

And tested using:

$ file /usr/local/Cellar/geos/3.3.5/lib/libgeos-3.3.5.dylib 

libgeos-3.3.5.dylib: Mach-O universal binary with 2 architectures
libgeos-3.3.5.dylib (for architecture i386):    Mach-O dynamically linked shared library i386
libgeos-3.3.5.dylib (for architecture x86_64):  Mach-O 64-bit dynamically linked shared library x86_64

Also, running jruby in 32 bit mode did not work before this flag but does now.

Thanks for looking at this,
--Keenan

@adamv adamv closed this pull request from a commit
@kbrock kbrock geos: support --universal
Closes #15254.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
04a761b
@adamv adamv closed this in 04a761b
@allenhuang allenhuang referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
@theirix theirix referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
@snakeyroc3 snakeyroc3 referenced this pull request from a commit in snakeyroc3/homebrew
@kbrock kbrock geos: support --universal
Closes #15254.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
e989257
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 2, 2012
  1. @kbrock

    universal flag for geos

    kbrock authored
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 0 deletions.
  1. +3 −0  Library/Formula/geos.rb
View
3  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'
Something went wrong with that request. Please try again.