diff options
| author | Jack Nagel | 2013-07-23 09:45:26 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-07-23 09:45:30 -0500 |
| commit | 4fe76e78e45f8bde2134e7e278bce1d7f840f1d7 (patch) | |
| tree | 71ddca9898e8f862d900aa16c2e416eec291b179 /Library | |
| parent | de8babb217b24138c1b4b81fab8bcd7080c496b8 (diff) | |
| download | homebrew-4fe76e78e45f8bde2134e7e278bce1d7f840f1d7.tar.bz2 | |
libspatialite: disable postgis option
Closes #20373.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/libspatialite.rb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Library/Formula/libspatialite.rb b/Library/Formula/libspatialite.rb index 141ba453e..4124f5835 100644 --- a/Library/Formula/libspatialite.rb +++ b/Library/Formula/libspatialite.rb @@ -1,5 +1,10 @@ require 'formula' +# Postgis depends on gdal, which in turn depends on libspatialite, +# so enabling a "with-postgis" option in this formula introduces a +# circular dependency. +# See https://github.com/mxcl/homebrew/issues/20373 + class Libspatialite < Formula homepage 'https://www.gaia-gis.it/fossil/libspatialite/index' url 'http://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-4.1.1.tar.gz' @@ -7,7 +12,6 @@ class Libspatialite < Formula option 'without-freexl', 'Build without support for reading Excel files' option 'without-libxml2', 'Disable support for xml parsing (parsing needed by spatialite-gui)' - option 'with-postgis', 'Enable additional sanitization/segmentation routines provided by PostGIS 2.0+' depends_on 'pkg-config' => :build depends_on 'proj' @@ -18,7 +22,6 @@ class Libspatialite < Formula depends_on 'sqlite' depends_on 'libxml2' => :recommended depends_on 'freexl' => :recommended - depends_on 'postgis' => :optional def install # Ensure Homebrew's libsqlite is found before the system version. @@ -33,7 +36,6 @@ class Libspatialite < Formula ] args << '--enable-freexl=no' if build.without? 'freexl' args << '--enable-libxml2=yes' unless build.without? 'libxml2' - args << '--enable-lwgeom' if build.with? 'postgis' system './configure', *args system "make install" |
