1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00

databases/postgresql14-server: fix openssl dependency

libpq.pc should not require openssl from ports when built with base -lssl

PR:	258760
This commit is contained in:
Palle Girgensohn 2021-09-29 11:36:43 +02:00
parent 4c35fa18e7
commit 59611d61d7

View File

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