git: 59611d61d70a - main - databases/postgresql14-server: fix openssl dependency
Palle Girgensohn
girgen at FreeBSD.org
Wed Sep 29 09:39:23 UTC 2021
The branch main has been updated by girgen:
URL: https://cgit.FreeBSD.org/ports/commit/?id=59611d61d70a85f4418f3f701db1b7baf58560ba
commit 59611d61d70a85f4418f3f701db1b7baf58560ba
Author: Palle Girgensohn <girgen at FreeBSD.org>
AuthorDate: 2021-09-29 09:36:43 +0000
Commit: Palle Girgensohn <girgen at FreeBSD.org>
CommitDate: 2021-09-29 09:39:17 +0000
databases/postgresql14-server: fix openssl dependency
libpq.pc should not require openssl from ports when built with base -lssl
PR: 258760
---
databases/postgresql14-server/Makefile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/databases/postgresql14-server/Makefile b/databases/postgresql14-server/Makefile
index 6a10dd228b39..e08742f33117 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?= 1
+PORTREVISION?= 2
CATEGORIES?= databases
MASTER_SITES= PGSQL/source/v${DISTVERSION}
PKGNAMESUFFIX?= ${PORTVERSION:R}${COMPONENT}
@@ -313,6 +313,10 @@ post-patch:
-e '/m4_PACKAGE_VERSION/s/\[2\.6[0-9]\]/m4_defn([m4_PACKAGE_VERSION])/' \
-e '/icu/s/_57//' \
${WRKSRC}/configure.in
+. elif defined(CLIENT_ONLY) && !defined(OPENSSL_PORT)
+ @${REINPLACE_CMD} \
+ -e '/^PKG_CONFIG_REQUIRES_PRIVATE = libssl libcrypto/d' \
+ ${WRKSRC}/src/interfaces/libpq/Makefile
. endif
do-install:
More information about the dev-commits-ports-all
mailing list