From a6ebdd4a5d2a3447aea89274e7007813e25ed2e2 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Tue, 26 Aug 2014 11:06:40 +0000 Subject: MFH: r366172 - Fix build by disabling warning which shoots on libdbi and is fatal due to -Werror Approved by: portmgr blanket --- net-mgmt/collectd5/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/net-mgmt/collectd5/Makefile b/net-mgmt/collectd5/Makefile index 4a8d2ce6b6bb..cd185694bbfe 100644 --- a/net-mgmt/collectd5/Makefile +++ b/net-mgmt/collectd5/Makefile @@ -204,6 +204,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 " -- cgit v1.2.3