diff options
author | jperkin <jperkin@pkgsrc.org> | 2015-02-02 12:02:27 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2015-02-02 12:02:27 +0000 |
commit | a2e8aea0e43bef2bf007c39a667da8f70aafb401 (patch) | |
tree | 0595c1935f3e3d86b61fbd4252ff547ef59b2b96 /sysutils/collectd | |
parent | 3fc01414d93e15f9abfe7480902d0ccf0ce0f60b (diff) | |
download | pkgsrc-a2e8aea0e43bef2bf007c39a667da8f70aafb401.tar.gz |
Requires C99, remove SunOS flags which conflict with _XOPEN_SOURCE
usage in the source.
Diffstat (limited to 'sysutils/collectd')
-rw-r--r-- | sysutils/collectd/Makefile.common | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sysutils/collectd/Makefile.common b/sysutils/collectd/Makefile.common index ef5fb7610fe..4e9cf4452c2 100644 --- a/sysutils/collectd/Makefile.common +++ b/sysutils/collectd/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.3 2014/08/18 09:17:41 joerg Exp $ +# $NetBSD: Makefile.common,v 1.4 2015/02/02 12:02:27 jperkin Exp $ # # used by sysutils/collectd/Makefile # used by sysutils/collectd-amqp/Makefile @@ -24,7 +24,7 @@ LICENSE= gnu-gpl-v2 GNU_CONFIGURE= yes USE_LIBTOOL= yes USE_TOOLS+= pkg-config -USE_LANGUAGES= c c++ +USE_LANGUAGES= c c99 c++ DISTINFO_FILE= ${.CURDIR}/../../sysutils/collectd/distinfo PATCHDIR= ${.CURDIR}/../../sysutils/collectd/patches @@ -66,8 +66,6 @@ CONFIGURE_ARGS+= --localstatedir=${VARBASE} CONFIGURE_ARGS+= --with-ltdl-lib=${BUILDLINK_PREFIX.libltdl}/lib CONFIGURE_ARGS+= --with-ltdl-include=${BUILDLINK_PREFIX.libltdl}/include -CPPFLAGS.SunOS+= -D__EXTENSIONS__ -DSOLARIS2=11 - .include "../../mk/compiler.mk" .if !empty(PKGSRC_COMPILER:Mclang) CFLAGS+= -Wno-error=tautological-pointer-compare |