aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2013-11-16 20:20:30 -0600
committerJack Nagel2013-11-16 20:22:08 -0600
commitb683839a2c921e8223b74597ca5f74d4f36d6bfb (patch)
treeb90c0e02f3e775c9b8610c4634a9007b713b3f7b
parentca5e7cf5b9fe548973c4ae5b70f889916445a4c9 (diff)
downloadhomebrew-b683839a2c921e8223b74597ca5f74d4f36d6bfb.tar.bz2
spatialite-gui: fix broken build
Remove hacks that were breaking the build. Ostensibly they fixed something at one time but they don't seem to work in either stdenv or superenv now. Also list some deps that are already in the dependency tree, but are linked into the binary so they should be repeated here. Fixes #24101.
-rw-r--r--Library/Formula/spatialite-gui.rb13
1 files changed, 5 insertions, 8 deletions
diff --git a/Library/Formula/spatialite-gui.rb b/Library/Formula/spatialite-gui.rb
index 97baedb10..d71a1e1ef 100644
--- a/Library/Formula/spatialite-gui.rb
+++ b/Library/Formula/spatialite-gui.rb
@@ -16,6 +16,10 @@ class SpatialiteGui < Formula
depends_on 'libspatialite'
depends_on 'libgaiagraphics'
depends_on 'wxmac'
+ depends_on 'geos'
+ depends_on 'proj'
+ depends_on 'freexl'
+ depends_on 'sqlite'
def patches
patch_set = {
@@ -28,14 +32,7 @@ class SpatialiteGui < Formula
end
def install
- # This lib doesn't get picked up by configure.
- ENV.append 'LDFLAGS', '-lwx_osx_cocoau_aui-2.9'
- # 1.6.0 doesn't pick up GEOS libraries. See:
- # https://www.gaia-gis.it/fossil/spatialite_gui/tktview?name=d27778d7e4
- ENV.append 'LDFLAGS', '-lgeos_c' if build.devel?
-
- system "./configure", "--disable-debug",
- "--prefix=#{prefix}"
+ system "./configure", "--prefix=#{prefix}"
system "make install"
end
end