4fa6bbafd4
- Add pst3 to PLIST. - Make sure dig/nslookup are found on SunOS. - Use MACHINE_ARCH to avoid 64bit builds with ABI=32 on SunOS. - Disable large file support on SunOS and ABI=32 (fixes swap plugin).
25 lines
774 B
Text
25 lines
774 B
Text
# $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}
|