Skip to content

Commit

Permalink
net-mgmt/collectd5: Eliminate -lgcrypt from LIBS
Browse files Browse the repository at this point in the history
...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 fb889ca.

PR:		272517
  • Loading branch information
TijlCoosemans committed Jul 17, 2023
1 parent fb889ca commit f0fc81e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions 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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit f0fc81e

Please sign in to comment.