diff --git a/databases/postgis31/Makefile b/databases/postgis31/Makefile --- a/databases/postgis31/Makefile +++ b/databases/postgis31/Makefile @@ -18,7 +18,7 @@ libgdal.so:graphics/gdal USES= alias compiler:c++11-lang cpe gmake gnome iconv:wchar_t libtool:keepla \ - localbase perl5 pkgconfig pgsql:11-14 shebangfix + localbase perl5 pkgconfig pgsql shebangfix USE_GNOME= libxml2 USE_PERL5= build @@ -67,6 +67,10 @@ .include +.if ${PGSQL_VER} >= 15 +IGNORE= Only supported up to pgsql 14 +.endif + .if ${CHOSEN_COMPILER_TYPE} == gcc post-patch: ${REINPLACE_CMD} -e '/^#pragma GCC diagnostic/d' \