aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-08-26 11:06:40 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-08-26 11:06:40 +0000
commita6ebdd4a5d2a3447aea89274e7007813e25ed2e2 (patch)
treea6e8b367d56148b9f27a03325ee2e4fa9fdd0605
parentdecd0acfa68ab98b4029a161d8812e55f3e3c3c0 (diff)
downloadports-a6ebdd4a5d2a3447aea89274e7007813e25ed2e2.tar.gz
ports-a6ebdd4a5d2a3447aea89274e7007813e25ed2e2.zip
MFH: r366172
- Fix build by disabling warning which shoots on libdbi and is fatal due to -Werror Approved by: portmgr blanket
Notes
Notes: svn path=/branches/2014Q3/; revision=366200
-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 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 "