git: 0edd2574e1dc - main - databases/postgresql14-server: add support for lz4 compression
Palle Girgensohn
girgen at FreeBSD.org
Tue Sep 28 06:55:56 UTC 2021
The branch main has been updated by girgen:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0edd2574e1dc068d39919f3a64f2b8f585390abb
commit 0edd2574e1dc068d39919f3a64f2b8f585390abb
Author: Palle Girgensohn <girgen at FreeBSD.org>
AuthorDate: 2021-09-28 06:53:45 +0000
Commit: Palle Girgensohn <girgen at 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
More information about the dev-commits-ports-all
mailing list