diff options
author | joerg <joerg@pkgsrc.org> | 2010-04-07 17:57:41 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-04-07 17:57:41 +0000 |
commit | de503479a1e58845637c9cc259c0acecae899f29 (patch) | |
tree | 13dc65c31d9c15b97bb7c5282f98b65ff506f127 | |
parent | c899721133b3eabc2d04068c559dc3ee660385ed (diff) | |
download | pkgsrc-de503479a1e58845637c9cc259c0acecae899f29.tar.gz |
--datarootdir is not understood by nagios-ncsa, so don't append it for that.
-rw-r--r-- | net/nagios-base/Makefile.common | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/net/nagios-base/Makefile.common b/net/nagios-base/Makefile.common index a330fae84e7..5f87495e03e 100644 --- a/net/nagios-base/Makefile.common +++ b/net/nagios-base/Makefile.common @@ -1,7 +1,9 @@ -# $NetBSD: Makefile.common,v 1.9 2009/12/15 18:56:01 bouyer Exp $ +# $NetBSD: Makefile.common,v 1.10 2010/04/07 17:57:41 joerg Exp $ # # used by net/nagios-base/Makefile +.include "../../mk/bsd.prefs.mk" + PKG_GROUPS_VARS+= NAGIOS_GROUP NAGIOSCMD_GROUP PKG_USERS_VARS+= NAGIOS_USER @@ -13,7 +15,9 @@ PKG_SYSCONFSUBDIR= nagios PERL5_REQD= 5.6 CONFIGURE_ARGS+= --libexecdir=${PREFIX}/libexec/nagios +.if ${PKGPATH} != "net/nagios-nsca" CONFIGURE_ARGS+= --datarootdir=${PREFIX}/share/nagios +.endif CONFIGURE_ARGS+= --datadir=${PREFIX}/share CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} CONFIGURE_ARGS+= --localstatedir=${NAGIOSDIR} |