blob: 32a39957ea614e6331a2dccfa176aaab88ad0bb1 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# $NetBSD: Makefile,v 1.12 2008/01/18 05:08:45 tnn Exp $
#
PKGREVISION= 4
CATEGORIES= net sysutils
MAINTAINER= pkgsrc-users@NetBSD.org
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"
|