Skip to content

Commit

Permalink
Merge pull request #178765 from Homebrew/postgis-linkage
Browse files Browse the repository at this point in the history
postgis: declare indirect deps with linkage
  • Loading branch information
chenrui333 authored Jul 28, 2024
2 parents 13f07b8 + 3a4e191 commit f237d98
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Formula/p/postgis.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,24 @@ class Postgis < Formula

depends_on "gpp" => :build
depends_on "pkg-config" => :build

depends_on "gdal" # for GeoJSON and raster handling
depends_on "geos"
depends_on "icu4c"
depends_on "json-c" # for GeoJSON and raster handling
depends_on "libxml2"
depends_on "pcre2"
depends_on "postgresql@14"
depends_on "proj"
depends_on "protobuf-c" # for MVT (map vector tiles) support
depends_on "sfcgal" # for advanced 2D/3D functions

uses_from_macos "llvm"

on_linux do
depends_on "libpq"
end

fails_with gcc: "5" # C++17

def postgresql
Expand Down

0 comments on commit f237d98

Please sign in to comment.