diff options
| author | Charlie Sharpsteen | 2012-05-07 12:02:17 -0700 |
|---|---|---|
| committer | Charlie Sharpsteen | 2012-05-07 12:02:17 -0700 |
| commit | b834cef22d2365ad1fed932998d7bcbcf81198de (patch) | |
| tree | 659e71872d76d8e85e1ce866bfd6c7204930ee58 /Library | |
| parent | 54c72568a47f2827de3e89ba8368e683c71b06f1 (diff) | |
| download | homebrew-b834cef22d2365ad1fed932998d7bcbcf81198de.tar.bz2 | |
GDAL: Use Homebrew SQLite
Required by SpatiaLite, so ensure GDAL links against the Homebrew version.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/gdal.rb | 6 |
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 |
