svn commit: r322460 - head/net-mgmt/collectd5
William Grzybowski
wg at FreeBSD.org
Sun Jul 7 21:55:44 UTC 2013
Author: wg
Date: Sun Jul 7 21:55:43 2013
New Revision: 322460
URL: http://svnweb.freebsd.org/changeset/ports/322460
Log:
net-mgmt/collectd5: fix build with PGSQL and GCRYPT
- Fix build with PGSQL and GCRYPT
- Fix typo in a couple descriptions
PR: ports/180370
Submitted by: brd
Approved by: maintainer
Modified:
head/net-mgmt/collectd5/Makefile
Modified: head/net-mgmt/collectd5/Makefile
==============================================================================
--- head/net-mgmt/collectd5/Makefile Sun Jul 7 21:41:02 2013 (r322459)
+++ head/net-mgmt/collectd5/Makefile Sun Jul 7 21:55:43 2013 (r322460)
@@ -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 "
More information about the svn-ports-head
mailing list