Skip to content

Commit

Permalink
postgis: declare indirect deps with linkage
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
chenrui333 committed Jul 28, 2024
1 parent c2ea80c commit 3a4e191
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 3a4e191

Please sign in to comment.