blob: 21de39375a7c531f55a4ea603232da20b3043bdd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# $NetBSD: Makefile.common,v 1.10 2012/07/25 12:01:54 fhajny Exp $
#
# used by net/nagios-plugin-mysql/Makefile
# used by net/nagios-plugin-pgsql/Makefile
# used by net/nagios-plugin-radius/Makefile
# used by net/nagios-plugin-snmp/Makefile
# used by net/nagios-plugins/Makefile
PLUGINSVERSION= 1.4.15
DISTNAME= nagios-plugins-${PLUGINSVERSION}
MASTER_SITES?= ${MASTER_SITE_SOURCEFORGE:=nagiosplug/}
.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}
CONFIGURE_ARGS+= --datarootdir=${PREFIX}/share/nagios
CONFIGURE_ENV+= MACHINE_ARCH=${MACHINE_ARCH}
|