Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 2023 18:55:53 GMT
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f0fc81e147d6 - main - net-mgmt/collectd5: Eliminate -lgcrypt from LIBS
Message-ID:  <202307171855.36HItrK3095704@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



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