From b683839a2c921e8223b74597ca5f74d4f36d6bfb Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 16 Nov 2013 20:20:30 -0600 Subject: 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. --- Library/Formula/spatialite-gui.rb | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3