aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-07-07 21:55:43 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-07-07 21:55:43 +0000
commit4c2ad53fee63cfa664e3b8c87079df1c3c134777 (patch)
treea71e858a88d0ad3ec9ec889584e85ea37a777c05 /net-mgmt
parent832fe2ecf9b98d4836b2ba4bf4d280cdcd866b55 (diff)
downloadports-4c2ad53fee63cfa664e3b8c87079df1c3c134777.tar.gz
ports-4c2ad53fee63cfa664e3b8c87079df1c3c134777.zip
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/collectd5/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/net-mgmt/collectd5/Makefile b/net-mgmt/collectd5/Makefile
index 025dc54bb7db..c19ce9b5612b 100644
--- a/net-mgmt/collectd5/Makefile
+++ b/net-mgmt/collectd5/Makefile
@@ -27,9 +27,9 @@ GCRYPT_DESC= Build with libgcrypt
JSON_DESC= Enable JSON plugins
MEMCACHEC_DESC= Enable memcachec plugin
MODBUS_DESC= Enable modbus plugin
-MYSQL_DESC= Enable mysql-basd plugins
+MYSQL_DESC= Enable mysql-based plugins
NUTUPS_DESC= Enable nut (ups) plugin
-PGSQL_DESC= Enable postgresql-basd plugins
+PGSQL_DESC= Enable postgresql-based plugins
PING_DESC= Enable ping plugin
PYTHON_DESC= Enable python-based plugins
REDIS_DESC= Enable redis-based plugins
@@ -206,6 +206,7 @@ PLIST_SUB+= DBI="@comment "
.if ${PORT_OPTIONS:MGCRYPT}
LIB_DEPENDS+= gcrypt:${PORTSDIR}/security/libgcrypt
CONFIGURE_ARGS+=--with-libgcrypt=${LOCALBASE}
+LDFLAGS+= -lgcrypt
.endif
.if ${PORT_OPTIONS:MJSON}
@@ -258,7 +259,7 @@ PLIST_SUB+= NUTUPS="@comment "
.if ${PORT_OPTIONS:MPGSQL}
USE_PGSQL= yes
-CONFIGURE_ARGS+=--with-postgresql=${LOCALBASE} --enable-postgresql
+CONFIGURE_ARGS+=--with-postgresql=${LOCALBASE} --enable-postgresql --with-libpq
PLIST_SUB+= PGSQL=""
.else
PLIST_SUB+= PGSQL="@comment "