gdal: phase out :fortran

This commit is contained in:
FX Coudert 2018-01-12 10:03:28 +01:00
parent 4fd52dd397
commit 4c2ac29096

View file

@ -87,7 +87,10 @@ class Gdal < Formula
depends_on "python" => :optional if MacOS.version <= :snow_leopard
depends_on "python3" => :optional
depends_on :fortran => :build if build.with?("python") || build.with?("python3")
if build.with?("python") || build.with?("python3")
depends_on "gcc" => :build # for gfortran
end
# Extra linking libraries in configure test of armadillo may throw warning
# see: https://trac.osgeo.org/gdal/ticket/5455