aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorCharlie Sharpsteen2012-05-07 12:02:17 -0700
committerCharlie Sharpsteen2012-05-07 12:02:17 -0700
commitb834cef22d2365ad1fed932998d7bcbcf81198de (patch)
tree659e71872d76d8e85e1ce866bfd6c7204930ee58 /Library/Formula
parent54c72568a47f2827de3e89ba8368e683c71b06f1 (diff)
downloadhomebrew-b834cef22d2365ad1fed932998d7bcbcf81198de.tar.bz2
GDAL: Use Homebrew SQLite
Required by SpatiaLite, so ensure GDAL links against the Homebrew version.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/gdal.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Formula/gdal.rb b/Library/Formula/gdal.rb
index 088a3d8ec..21cec7320 100644
--- a/Library/Formula/gdal.rb
+++ b/Library/Formula/gdal.rb
@@ -38,6 +38,10 @@ class Gdal < Formula
depends_on 'giflib'
depends_on 'proj'
depends_on 'geos'
+ # To ensure compatibility with SpatiaLite. Might be possible to do this
+ # conditially, but the additional complexity is just not worth saving an
+ # extra few seconds of build time.
+ depends_on 'sqlite'
depends_on "postgresql" if postgres?
depends_on "mysql" if mysql?
@@ -99,13 +103,13 @@ class Gdal < Formula
"--with-libz=/usr",
"--with-png=/usr/X11",
"--with-expat=/usr",
- "--with-sqlite3=/usr",
# Default Homebrew backends.
"--with-jpeg=#{HOMEBREW_PREFIX}",
"--with-jpeg12",
"--with-gif=#{HOMEBREW_PREFIX}",
"--with-curl=/usr/bin/curl-config",
+ "--with-sqlite3=#{HOMEBREW_PREFIX}",
# GRASS backend explicitly disabled. Creates a chicken-and-egg problem.
# Should be installed separately after GRASS installation using the