26 lines
769 B
Makefile
26 lines
769 B
Makefile
# $NetBSD: Makefile.common,v 1.11 2015/04/03 17:50:27 rodent 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= 2.0.3
|
|
DISTNAME= nagios-plugins-${PLUGINSVERSION}
|
|
MASTER_SITES?= http://nagios-plugins.org/download/
|
|
|
|
.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}
|