git: 5e7078e10186 - main - databases/postgis31: enforce pgsql version limit
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 25 May 2024 07:21:11 UTC
The branch main has been updated by kbowling: URL: https://cgit.FreeBSD.org/ports/commit/?id=5e7078e10186aeeac0693b01c182c1b16b0d1e1d commit 5e7078e10186aeeac0693b01c182c1b16b0d1e1d Author: Kevin Bowling <kbowling@FreeBSD.org> AuthorDate: 2024-05-25 07:18:29 +0000 Commit: Kevin Bowling <kbowling@FreeBSD.org> CommitDate: 2024-05-25 07:21:03 +0000 databases/postgis31: enforce pgsql version limit PR: 278885 Reviewed by: antoine Fixes: 5c969afad5e5 databases/postgis31: Limit to pgsql < 15 per documentation Differential Revision: https://reviews.freebsd.org/D45359 --- databases/postgis31/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/databases/postgis31/Makefile b/databases/postgis31/Makefile index 1502e67ac618..2d2f8dbad6b4 100644 --- a/databases/postgis31/Makefile +++ b/databases/postgis31/Makefile @@ -18,7 +18,7 @@ LIB_DEPENDS= libproj.so:graphics/proj \ 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 @@ PLIST_SUB= PORTVERSION=${PORTVERSION}${DISTVERSIONSUFFIX} \ .include <bsd.port.pre.mk> +.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' \