File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ mkdir -p $TRG_DIR $SRC_DIR $INSTALL_DIR
3838# Install Homebrew dependencies
3939brew update
4040brew install python3 || true
41- brew install pkg-config icu4c libxml2 libxslt openssl@3 zlib perl patchelf curl cmake pcre boost gettext
41+ brew install pkg-config icu4c libxml2 libxslt json-c openssl@3 zlib perl patchelf curl cmake pcre boost gettext
4242
4343# Dynamically set environment variables for Homebrew dependencies using brew --prefix
4444export PATH=" $( brew --prefix icu4c) /bin:$( brew --prefix icu4c) /sbin:$( brew --prefix python3) /bin:$( brew --prefix pcre) /bin:$( brew --prefix gettext) /bin:$PATH "
@@ -138,6 +138,7 @@ if [ -n "$POSTGIS_VERSION" ]; then
138138 --with-geosconfig=$INSTALL_DIR /bin/geos-config \
139139 --with-projdir=$INSTALL_DIR \
140140 --with-gdalconfig=$INSTALL_DIR /bin/gdal-config \
141+ --with-jsondir=" $( brew --prefix json-c) " \
141142 --without-protobuf
142143 make -j$( sysctl -n hw.ncpu)
143144 make install
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ POSTGIS_VERSION=
99PGROUTING_VERSION=
1010LITE_OPT=false
1111
12- while getopts " v:i:g:o:l" opt; do
12+ while getopts " v:i:g:r: o:l" opt; do
1313 case $opt in
1414 v) PG_VERSION=$OPTARG ;;
1515 i) IMG_NAME=$OPTARG ;;
You can’t perform that action at this time.
0 commit comments