1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

databases/postgresql-promscale: enforce pgsql version limit

PR:		278885
Reported by:	antoine
This commit is contained in:
Kevin Bowling 2024-07-06 16:22:21 -07:00
parent 4d011bdbc6
commit ad6088a3ab

View File

@ -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>