diff options
Diffstat (limited to 'sysutils/monit')
-rw-r--r-- | sysutils/monit/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
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 |