summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-06-02 11:12:05 +0000
committernia <nia@pkgsrc.org>2020-06-02 11:12:05 +0000
commit8c333d80cdd382bcfb6fc2b04df5735891f886aa (patch)
tree76242a5884892553db3a605831b1986ebf481a07 /sysutils
parentbb74dd0cbdedc2eb727ea6fc6f21c8324fc8105a (diff)
downloadpkgsrc-8c333d80cdd382bcfb6fc2b04df5735891f886aa.tar.gz
collectd: disable werror
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/collectd/Makefile.common10
1 files changed, 2 insertions, 8 deletions
diff --git a/sysutils/collectd/Makefile.common b/sysutils/collectd/Makefile.common
index 407d5f2740f..f705923bc78 100644
--- a/sysutils/collectd/Makefile.common
+++ b/sysutils/collectd/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.23 2020/05/27 19:37:42 wiz Exp $
+# $NetBSD: Makefile.common,v 1.24 2020/06/02 11:12:05 nia Exp $
#
# used by sysutils/collectd/Makefile
# used by sysutils/collectd-amqp/Makefile
@@ -66,6 +66,7 @@ CONFIGURE_ARGS+= --with-java=no --with-mic=no --with-oracle=no \
.for lib in ${DISABLED_LIBS}
CONFIGURE_ARGS+= --with-lib${lib}=no
.endfor
+CONFIGURE_ARGS+= --disable-werror
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
CONFIGURE_ARGS+= --with-ltdl-lib=${BUILDLINK_PREFIX.libltdl}/lib
CONFIGURE_ARGS+= --with-ltdl-include=${BUILDLINK_PREFIX.libltdl}/include
@@ -76,13 +77,6 @@ CONFIGURE_ARGS.NetBSD+= c_cv_have_htonll=no
CPPFLAGS.SunOS+= -DSOLARIS2=${OS_VERSION:C/5.//}
-.include "../../mk/compiler.mk"
-# XXX: proper clang version check when we have support for it.
-.if !empty(PKGSRC_COMPILER:Mclang) && ${OPSYS} != "Darwin"
-CFLAGS+= -Wno-error=tautological-pointer-compare \
- -Wno-error=pointer-bool-conversion
-.endif
-
SUBST_CLASSES+= ver
SUBST_MESSAGE.ver= Fixing canonical version number
SUBST_STAGE.ver= pre-configure