ports/180370: [patch] net-mgmt/collectd5 Fix build with PGSQL and GCRYPT
Brad Davis
brd at FreeBSD.org
Sun Jul 7 19:50:00 UTC 2013
>Number: 180370
>Category: ports
>Synopsis: [patch] net-mgmt/collectd5 Fix build with PGSQL and GCRYPT
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sun Jul 07 19:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Brad Davis
>Release: FreeBSD 9.1-RELEASE i386
>Organization:
>Environment:
>Description:
- Fix a few typos in the descriptions
- Fix build with PGSQL
- Fix build with GCRYPT
>How-To-Repeat:
>Fix:
--- collectd5-build.diff begins here ---
Index: net-mgmt/collectd5/Makefile
===================================================================
--- net-mgmt/collectd5/Makefile (revision 322457)
+++ net-mgmt/collectd5/Makefile (working copy)
@@ -27,9 +27,9 @@
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 @@
.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 @@
.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 "
--- collectd5-build.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list