gdal: fix database dependencies to be requirements (#20377)
Change the gdal formula to use the mysql and postgresql requirements rather than the specific formulas. This change enables gdal to build against keg-only, old versions that users may have linked, or against externally managed dependencies.
This commit is contained in:
parent
8ec727e557
commit
f18d66e79a
1 changed files with 2 additions and 2 deletions
|
@ -47,8 +47,8 @@ class Gdal < Formula
|
|||
depends_on "freexl"
|
||||
depends_on "libspatialite"
|
||||
|
||||
depends_on "postgresql" => :optional
|
||||
depends_on "mysql" => :optional
|
||||
depends_on :postgresql => :optional
|
||||
depends_on :mysql => :optional
|
||||
depends_on "armadillo" => :optional
|
||||
|
||||
if build.with? "libkml"
|
||||
|
|
Loading…
Reference in a new issue