pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/collectd



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Jun  2 11:12:06 UTC 2020

Modified Files:
        pkgsrc/sysutils/collectd: Makefile.common

Log Message:
collectd: disable werror


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/sysutils/collectd/Makefile.common

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/collectd/Makefile.common
diff -u pkgsrc/sysutils/collectd/Makefile.common:1.23 pkgsrc/sysutils/collectd/Makefile.common:1.24
--- pkgsrc/sysutils/collectd/Makefile.common:1.23       Wed May 27 19:37:42 2020
+++ pkgsrc/sysutils/collectd/Makefile.common    Tue Jun  2 11:12:05 2020
@@ -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-m
 .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
 
 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