summaryrefslogtreecommitdiff
path: root/net/nagios-plugins
diff options
context:
space:
mode:
authorjoerg <joerg>2006-03-08 12:30:33 +0000
committerjoerg <joerg>2006-03-08 12:30:33 +0000
commit6df5070976c25cbfea089dcfbe947d7cce732728 (patch)
tree93b625f31358fbf32c35c3a956cc200fce7f88ba /net/nagios-plugins
parent03cb098cf934d279de42499c207a8e67ccf2bbd2 (diff)
downloadpkgsrc-6df5070976c25cbfea089dcfbe947d7cce732728.tar.gz
Don't use statvfs on DragonFly.
Diffstat (limited to 'net/nagios-plugins')
-rw-r--r--net/nagios-plugins/Makefile.common8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/nagios-plugins/Makefile.common b/net/nagios-plugins/Makefile.common
index 37269f9cb7b..b12606adfac 100644
--- a/net/nagios-plugins/Makefile.common
+++ b/net/nagios-plugins/Makefile.common
@@ -1,10 +1,16 @@
-# $NetBSD: Makefile.common,v 1.1.1.1 2006/02/18 17:19:20 bouyer Exp $
+# $NetBSD: Makefile.common,v 1.2 2006/03/08 12:30:33 joerg Exp $
#
PLUGINSVERSION= 1.4.2
DISTNAME= nagios-plugins-${PLUGINSVERSION}
.include "../../net/nagios-base/Makefile.common"
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "DragonFly"
+CONFIGURE_ARGS+= fu_cv_sys_stat_statvfs=no
+.endif
+
CONFIGURE_ARGS+= --with-nagios-user=${NAGIOS_USER:Q}
CONFIGURE_ARGS+= --with-nagios-group=${NAGIOS_GROUP:Q}