Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Sep 2021 06:55:56 GMT
From:      Palle Girgensohn <girgen@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0edd2574e1dc - main - databases/postgresql14-server: add support for lz4 compression
Message-ID:  <202109280655.18S6tuqg035609@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by girgen:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0edd2574e1dc068d39919f3a64f2b8f585390abb

commit 0edd2574e1dc068d39919f3a64f2b8f585390abb
Author:     Palle Girgensohn <girgen@FreeBSD.org>
AuthorDate: 2021-09-28 06:53:45 +0000
Commit:     Palle Girgensohn <girgen@FreeBSD.org>
CommitDate: 2021-09-28 06:55:29 +0000

    databases/postgresql14-server: add support for lz4 compression
---
 databases/postgresql14-server/Makefile | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/databases/postgresql14-server/Makefile b/databases/postgresql14-server/Makefile
index a436a10c6837..6a10dd228b39 100644
--- a/databases/postgresql14-server/Makefile
+++ b/databases/postgresql14-server/Makefile
@@ -4,7 +4,7 @@ PORTNAME?=	postgresql
 DISTVERSION?=	14rc1
 # PORTREVISION must be ?= otherwise, all slave ports get this PORTREVISION and
 # not their own.  Probably best to keep it at ?=0 when reset here too.
-PORTREVISION?=	0
+PORTREVISION?=	1
 CATEGORIES?=	databases
 MASTER_SITES=	PGSQL/source/v${DISTVERSION}
 PKGNAMESUFFIX?= ${PORTVERSION:R}${COMPONENT}
@@ -94,6 +94,14 @@ DTRACE_CONFIGURE_ENABLE=dtrace
 DTRACE_LDFLAGS=		-lelf
 DTRACE_INSTALL_TARGET=	install
 
+.if ${DISTVERSION:C/([0-9]*).*/\1/} >= 14
+OPTIONS_DEFINE+=	LZ4
+OPTIONS_DEFAULT+=	LZ4
+LZ4_DESC=		Build with LZ4 compression support
+LZ4_CONFIGURE_WITH=	lz4
+LZ4_LIB_DEPENDS+=	liblz4.so:archivers/liblz4
+.endif
+
 .if ${DISTVERSION:C/([0-9]*).*/\1/} >= 11
 OPTIONS_DEFINE+=	LLVM
 OPTIONS_DEFAULT+=	LLVM



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109280655.18S6tuqg035609>