diff options
| author | Thomas Bonfort | 2014-04-03 12:48:07 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2014-04-07 21:21:54 -0700 |
| commit | a8be167345ffc7e3d0c990bf8f830fe14ef7ae52 (patch) | |
| tree | 0ee8b4d554568cb34528970f3c5195807d136fa1 /Library | |
| parent | 29b88457870d46901acc7bba6523b475e3a92674 (diff) | |
| download | homebrew-a8be167345ffc7e3d0c990bf8f830fe14ef7ae52.tar.bz2 | |
postgis: optionally disable postgis raster support
Closes #28104.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/postgis.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Formula/postgis.rb b/Library/Formula/postgis.rb index 694d220a6..6e78e6409 100644 --- a/Library/Formula/postgis.rb +++ b/Library/Formula/postgis.rb @@ -8,6 +8,7 @@ class Postgis < Formula head 'http://svn.osgeo.org/postgis/trunk/' option 'with-gui', 'Build shp2pgsql-gui in addition to command line tools' + option 'without-gdal', 'Disable postgis raster support' depends_on :autoconf depends_on :automake @@ -22,7 +23,7 @@ class Postgis < Formula # For GeoJSON and raster handling depends_on 'json-c' - depends_on 'gdal' + depends_on 'gdal' => :recommended def install # Follow the PostgreSQL linked keg back to the active Postgres installation @@ -49,6 +50,8 @@ class Postgis < Formula ] args << '--with-gui' if build.with? "gui" + args << '--without-raster' if build.without? "gdal" + system './autogen.sh' system './configure', *args system 'make' |
