aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gdal.rb
diff options
context:
space:
mode:
authorKashif Rasul2013-11-21 10:45:34 +0100
committerJack Nagel2013-11-21 16:21:53 -0600
commit06740c98409d6db50f359028b5f28e42781bce34 (patch)
treef8b7811eb920018f34d9e987edb0e451fc082b27 /Library/Formula/gdal.rb
parent5de4a65ca1550130789bf4c09109af189130fbc5 (diff)
downloadhomebrew-06740c98409d6db50f359028b5f28e42781bce34.tar.bz2
gdal: fix postgres option name
Closes #24560. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/gdal.rb')
-rw-r--r--Library/Formula/gdal.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/gdal.rb b/Library/Formula/gdal.rb
index 78023fb75..e4f82bdb7 100644
--- a/Library/Formula/gdal.rb
+++ b/Library/Formula/gdal.rb
@@ -11,7 +11,7 @@ class Gdal < Formula
end
option 'complete', 'Use additional Homebrew libraries to provide more drivers.'
- option 'with-postgres', 'Specify PostgreSQL as a dependency.'
+ option 'with-postgresql', 'Specify PostgreSQL as a dependency.'
option 'with-mysql', 'Specify MySQL as a dependency.'
option 'enable-opencl', 'Build with OpenCL acceleration.'
option 'enable-armadillo', 'Build with Armadillo accelerated TPS transforms.'
@@ -157,7 +157,7 @@ class Gdal < Formula
args.concat unsupported_backends.map {|b| '--without-' + b} unless build.include? 'enable-unsupported'
# Database support.
- args << (build.with?("postgres") ? "--with-pg=#{HOMEBREW_PREFIX}/bin/pg_config" : "--without-pg")
+ args << (build.with?("postgresql") ? "--with-pg=#{HOMEBREW_PREFIX}/bin/pg_config" : "--without-pg")
args << (build.with?("mysql") ? "--with-mysql=#{HOMEBREW_PREFIX}/bin/mysql_config" : "--without-mysql")
# Python is installed manually to ensure everything is properly sandboxed.