From f0fc81e147d6851546b712b4403b4584ac4e02b7 Mon Sep 17 00:00:00 2001 From: Tijl Coosemans Date: Sun, 16 Jul 2023 15:48:11 +0200 Subject: 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 -- cgit v1.2.3