pkgsrc/net/nagios-plugins/Makefile
tonnerre 3c082a0693 Remove some broken malloc logic from the nagios-plugins library.
Discovered and patch provided by Wolfgang Solfrank.
2008-06-08 14:08:47 +00:00

40 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.15 2008/06/08 14:08:47 tonnerre Exp $
#
CATEGORIES= net sysutils
MAINTAINER= tonnerre@NetBSD.org
PKGREVISION= 1
HOMEPAGE= http://sourceforge.net/projects/nagiosplug/
COMMENT= Nagios plugins
.include "../../net/nagios-plugins/Makefile.common"
.include "../../mk/bsd.prefs.mk"
USE_TOOLS+= perl:run
CONFIGURE_ARGS+= --without-pgsql --without-mysql \
--without-smbclient-command --without-snmpget-command \
--without-snmpgetnext-command --without-fping-command
SPECIAL_PERMS+= ${PREFIX}/libexec/nagios/check_icmp ${REAL_ROOT_USER} ${NAGIOS_GROUP} 4550
.if ${OPSYS} == "NetBSD"
CONFIGURE_ARGS+= --with-df-command="/bin/df -Pklt nokernfs,procfs,fdesc"
.endif
# required to enable large file support on Solaris
.if ${OPSYS} == "SunOS"
CPPFLAGS_LFS!= getconf LFS_CFLAGS
MAKE_ENV+= CPPFLAGS_LFS=${CPPFLAGS_LFS:Q}
.endif
LIBS.SunOS+= -lm
.if !exists(/usr/bin/ssh)
DEPENDS+= {ssh{,6}-[0-9]*,openssh-[0-9]*}:../../security/openssh
.endif
.include "../../security/openssl/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"