aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/collectd5
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-08-26 09:59:09 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-08-26 09:59:09 +0800
commitd96406223bdac1777a54e298c6a3bdafad78852c (patch)
tree0b9cb7bf1e38ec26d097b9b3b58d7c13171227b0 /net-mgmt/collectd5
parent494f17b74f7c9ab0b54812008c62a6b83fa70cce (diff)
downloadfreebsd-ports-gnome-d96406223bdac1777a54e298c6a3bdafad78852c.tar.gz
freebsd-ports-gnome-d96406223bdac1777a54e298c6a3bdafad78852c.tar.zst
freebsd-ports-gnome-d96406223bdac1777a54e298c6a3bdafad78852c.zip
- Fix build by disabling warning which shoots on libdbi and is fatal due to -Werror
Approved by: portmgr blanket MFH: 2014Q3
Diffstat (limited to 'net-mgmt/collectd5')
-rw-r--r--net-mgmt/collectd5/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/net-mgmt/collectd5/Makefile b/net-mgmt/collectd5/Makefile
index 0e2becf6155c..30c3298a9f6a 100644
--- a/net-mgmt/collectd5/Makefile
+++ b/net-mgmt/collectd5/Makefile
@@ -202,6 +202,7 @@ CONFIGURE_ARGS+=--disable-debug
LIB_DEPENDS+= libdbi.so:${PORTSDIR}/databases/libdbi
CONFIGURE_ARGS+=--with-libdbi=${LOCALBASE} --enable-dbi
PLIST_SUB+= DBI=""
+CFLAGS+= -Wno-deprecated-declarations
.else
CONFIGURE_ARGS+=--without-libdbi --disable-dbi
PLIST_SUB+= DBI="@comment "