From f9abd49829d5cff5e236d4b29a2810f50664c5a1 Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 25 Mar 2016 21:05:30 +0000 Subject: Needs _KERNTYPES on NetBSD. --- sysutils/monit/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'sysutils/monit') diff --git a/sysutils/monit/Makefile b/sysutils/monit/Makefile index b7b4c8b8d39..bd854abf509 100644 --- a/sysutils/monit/Makefile +++ b/sysutils/monit/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2016/03/05 11:29:31 jperkin Exp $ +# $NetBSD: Makefile,v 1.18 2016/03/25 21:05:30 joerg Exp $ # DISTNAME= monit-5.8 @@ -56,6 +56,11 @@ SUBST_FILES.monit= monitrc SUBST_SED.monit= -e "s|^\# *set *daemon|set daemon|" SUBST_SED.monit+= -e "s|include */etc/monit.d|include ${PKG_SYSCONFDIR}/monit.d|" +.if ${OPSYS} == "NetBSD" +_WRAP_EXTRA_ARGS.CC+= -D_KERNTYPES +CWRAPPERS_APPEND.cc+= -D_KERNTYPES +.endif + # Perform configure substitutions on monit.1 post-configure: cd ${WRKSRC} && mv monit.1 monit.1.in && ./config.status --file=monit.1 -- cgit v1.2.3