pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/nagios-plugins Don't use statvfs on DragonFly.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bb9043647b96
branches:  trunk
changeset: 509322:bb9043647b96
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Mar 08 12:30:33 2006 +0000

description:
Don't use statvfs on DragonFly.

diffstat:

 net/nagios-plugins/Makefile.common |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 80098523ac3b -r bb9043647b96 net/nagios-plugins/Makefile.common
--- a/net/nagios-plugins/Makefile.common        Wed Mar 08 11:30:44 2006 +0000
+++ b/net/nagios-plugins/Makefile.common        Wed Mar 08 12:30:33 2006 +0000
@@ -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}



Home | Main Index | Thread Index | Old Index