summaryrefslogtreecommitdiff
path: root/databases/postgis32/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgis32/Makefile')
-rw-r--r--databases/postgis32/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/databases/postgis32/Makefile b/databases/postgis32/Makefile
index 5d7cc06b3046..f4397e338029 100644
--- a/databases/postgis32/Makefile
+++ b/databases/postgis32/Makefile
@@ -1,6 +1,6 @@
PORTNAME= postgis
DISTVERSION= 3.2.7
-PORTREVISION= 2
+PORTREVISION= 4
CATEGORIES= databases geography
MASTER_SITES= https://download.osgeo.org/postgis/source/
PKGNAMESUFFIX= 32
@@ -18,7 +18,7 @@ LIB_DEPENDS= libproj.so:graphics/proj \
libgdal.so:graphics/gdal
USES= alias compiler:c++14-lang cpe gmake gnome iconv:wchar_t libtool:keepla \
- localbase perl5 pkgconfig pgsql:11-15 shebangfix
+ localbase perl5 pkgconfig pgsql shebangfix
USE_GNOME= libxml2
USE_PERL5= build
@@ -69,6 +69,10 @@ PLIST_SUB= PORTVERSION=${PORTVERSION}${DISTVERSIONSUFFIX} \
.include <bsd.port.pre.mk>
+.if ${PGSQL_VER} > 15
+IGNORE= Only supported up to pgsql 15
+.endif
+
.if ${CHOSEN_COMPILER_TYPE} == gcc
post-patch:
${REINPLACE_CMD} -e '/^#pragma GCC diagnostic/d' \