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