git: ad6088a3ab52 - main - databases/postgresql-promscale: enforce pgsql version limit
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 06 Jul 2024 23:41:20 UTC
The branch main has been updated by kbowling: URL: https://cgit.FreeBSD.org/ports/commit/?id=ad6088a3ab523dff0045e62671250c7dd0227a45 commit ad6088a3ab523dff0045e62671250c7dd0227a45 Author: Kevin Bowling <kbowling@FreeBSD.org> AuthorDate: 2024-07-06 23:22:21 +0000 Commit: Kevin Bowling <kbowling@FreeBSD.org> CommitDate: 2024-07-06 23:22:21 +0000 databases/postgresql-promscale: enforce pgsql version limit PR: 278885 Reported by: antoine --- databases/postgresql-promscale/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/databases/postgresql-promscale/Makefile b/databases/postgresql-promscale/Makefile index 39bf8b9f1e4f..c53c5f45bedf 100644 --- a/databases/postgresql-promscale/Makefile +++ b/databases/postgresql-promscale/Makefile @@ -15,7 +15,7 @@ ONLY_FOR_ARCHS= aarch64 amd64 RUN_DEPENDS= timescaledb>=2.9.1:databases/timescaledb BUILD_DEPENDS= bash>0:shells/bash -USES= cargo gmake pgsql:12-15 +USES= cargo gmake pgsql USE_GITHUB= yes GH_ACCOUNT= timescale @@ -43,4 +43,10 @@ do-build: do-install: cd ${WRKSRC}/target/release/promscale-pg${PGSQL_VER} && ${PAX} -rw . ${STAGEDIR} -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PGSQL_VER} > 15 +IGNORE= Only supported up to pgsql 15 +.endif + +.include <bsd.port.post.mk>