aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2023-07-16 13:48:11 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2023-07-17 18:55:15 +0000
commitf0fc81e147d6851546b712b4403b4584ac4e02b7 (patch)
tree6853b1e47c13b6b9e5127d2a2eec7906218869dc
parentfb889ca82944e04d4b3dfa2a13c51456bbde0094 (diff)
downloadports-f0fc81e147d6851546b712b4403b4584ac4e02b7.tar.gz
ports-f0fc81e147d6851546b712b4403b4584ac4e02b7.zip
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
-rw-r--r--net-mgmt/collectd5/Makefile5
1 files 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