summaryrefslogtreecommitdiff
path: root/sysutils/collectd
diff options
context:
space:
mode:
authorjperkin <jperkin>2015-02-02 12:02:27 +0000
committerjperkin <jperkin>2015-02-02 12:02:27 +0000
commiteae9a41e26a1d526c64fe7b0f5ff99f1104dd426 (patch)
tree0595c1935f3e3d86b61fbd4252ff547ef59b2b96 /sysutils/collectd
parentb2d48727bec7b255d4a1f9380abe1a44a9d585a9 (diff)
downloadpkgsrc-eae9a41e26a1d526c64fe7b0f5ff99f1104dd426.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.common6
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