Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/collectd collectd: disable werror



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2b341ba16fad
branches:  trunk
changeset: 433447:2b341ba16fad
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Jun 02 11:12:05 2020 +0000

description:
collectd: disable werror

diffstat:

 sysutils/collectd/Makefile.common |  10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diffs (31 lines):

diff -r ef00069bf1e9 -r 2b341ba16fad sysutils/collectd/Makefile.common
--- a/sysutils/collectd/Makefile.common Tue Jun 02 11:08:06 2020 +0000
+++ b/sysutils/collectd/Makefile.common Tue Jun 02 11:12:05 2020 +0000
@@ -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 @@
 .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 @@
 
 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



Home | Main Index | Thread Index | Old Index