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:
Randall Leeds 2017-11-07 11:49:17 -08:00 committed by ilovezfs
parent 8ec727e557
commit f18d66e79a

View file

@ -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"