git: f0fc81e147d6 - main - net-mgmt/collectd5: Eliminate -lgcrypt from LIBS

From: Tijl Coosemans <tijl_at_FreeBSD.org>
Date: Mon, 17 Jul 2023 18:55:53 UTC
The branch main has been updated by tijl:

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

commit f0fc81e147d6851546b712b4403b4584ac4e02b7
Author:     Tijl Coosemans <tijl@FreeBSD.org>
AuthorDate: 2023-07-16 13:48:11 +0000
Commit:     Tijl Coosemans <tijl@FreeBSD.org>
CommitDate: 2023-07-17 18:55:15 +0000

    net-mgmt/collectd5: Eliminate -lgcrypt from LIBS
    
    ...so it isn't linked into every executable and library.
    
    This came up when trying to fix a crash involving libgcrypt,
    libgpg-error and libintl from gettext 0.22.  This crash has been
    fixed in fb889ca82944.
    
    PR:             272517
---
 net-mgmt/collectd5/Makefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/net-mgmt/collectd5/Makefile b/net-mgmt/collectd5/Makefile
index a9db572e6fc0..049f6fdebb9a 100644
--- a/net-mgmt/collectd5/Makefile
+++ b/net-mgmt/collectd5/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	collectd
 PORTVERSION=	5.12.0
-PORTREVISION=	8
+PORTREVISION=	9
 CATEGORIES=	net-mgmt
 MASTER_SITES=	https://storage.googleapis.com/collectd-tarballs/
 PKGNAMESUFFIX=	5
@@ -130,8 +130,7 @@ DBI_CFLAGS=		-Wno-deprecated-declarations
 
 GCRYPT_LIB_DEPENDS=	libgcrypt.so:security/libgcrypt \
 			libgpg-error.so:security/libgpg-error
-GCRYPT_CONFIGURE_WITH=	libgcrypt=${LOCALBASE}
-GCRYPT_LIBS=		-lgcrypt
+GCRYPT_CONFIGURE_WITH=	libgcrypt=${LOCALBASE}/bin/libgcrypt-config
 
 INFLUXDB_CONFIGURE_ENABLE=	write_influxdb_udp