diff options
author | fhajny <fhajny@pkgsrc.org> | 2015-02-24 13:14:05 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2015-02-24 13:14:05 +0000 |
commit | d818b196a19ddee07eb0511bcab51d806a060cc9 (patch) | |
tree | f4237cd3be9c198018287c2020e2537776a542c9 /sysutils/collectd | |
parent | 9b36baaa0938e0c8a5f9fe3e8ba07bd7f6a5048e (diff) | |
download | pkgsrc-d818b196a19ddee07eb0511bcab51d806a060cc9.tar.gz |
SunOS still needs SOLARIS2 defined for ip_compat.h to expose some structs.
Diffstat (limited to 'sysutils/collectd')
-rw-r--r-- | sysutils/collectd/Makefile.common | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sysutils/collectd/Makefile.common b/sysutils/collectd/Makefile.common index 4e9cf4452c2..327ca5a9762 100644 --- a/sysutils/collectd/Makefile.common +++ b/sysutils/collectd/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.4 2015/02/02 12:02:27 jperkin Exp $ +# $NetBSD: Makefile.common,v 1.5 2015/02/24 13:14:05 fhajny Exp $ # # used by sysutils/collectd/Makefile # used by sysutils/collectd-amqp/Makefile @@ -66,6 +66,8 @@ CONFIGURE_ARGS+= --localstatedir=${VARBASE} CONFIGURE_ARGS+= --with-ltdl-lib=${BUILDLINK_PREFIX.libltdl}/lib CONFIGURE_ARGS+= --with-ltdl-include=${BUILDLINK_PREFIX.libltdl}/include +CPPFLAGS.SunOS+= -DSOLARIS2=${OS_VERSION:C/5.//} + .include "../../mk/compiler.mk" .if !empty(PKGSRC_COMPILER:Mclang) CFLAGS+= -Wno-error=tautological-pointer-compare |