diff options
author | joerg <joerg@pkgsrc.org> | 2016-03-25 21:05:30 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2016-03-25 21:05:30 +0000 |
commit | f9abd49829d5cff5e236d4b29a2810f50664c5a1 (patch) | |
tree | 030f4c8557c86d7ecde4a7ad52330ca87fdd29d3 /sysutils/monit | |
parent | 5adb98a6251c1bbf4a9cba42aa8abc2ec9a6963d (diff) | |
download | pkgsrc-f9abd49829d5cff5e236d4b29a2810f50664c5a1.tar.gz |
Needs _KERNTYPES on NetBSD.
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 |