Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 2021 09:39:23 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: 59611d61d70a - main - databases/postgresql14-server: fix openssl dependency
Message-ID:  <202109290939.18T9dN9V068691@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=59611d61d70a85f4418f3f701db1b7baf58560ba

commit 59611d61d70a85f4418f3f701db1b7baf58560ba
Author:     Palle Girgensohn <girgen@FreeBSD.org>
AuthorDate: 2021-09-29 09:36:43 +0000
Commit:     Palle Girgensohn <girgen@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:



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