Sun Nov 15 04:47:41 2009 UTC ()
As noted by Thierry Lacoste in PR pkg/42251, NAGIOS_GROUP was used on the
right side of an assignment.  Change this to ${NAGIOS_GROUP} so that the
group is created properly.  Bump PKGREVISION to 2.


(snj)
diff -r1.19 -r1.20 pkgsrc/net/nagios-plugins/Makefile

cvs diff -r1.19 -r1.20 pkgsrc/net/nagios-plugins/Makefile (switch to unified diff)

--- pkgsrc/net/nagios-plugins/Makefile 2009/05/26 13:32:29 1.19
+++ pkgsrc/net/nagios-plugins/Makefile 2009/11/15 04:47:41 1.20
@@ -1,47 +1,47 @@ @@ -1,47 +1,47 @@
1# $NetBSD: Makefile,v 1.19 2009/05/26 13:32:29 gdt Exp $ 1# $NetBSD: Makefile,v 1.20 2009/11/15 04:47:41 snj Exp $
2# 2#
3 3
4CATEGORIES= net sysutils 4CATEGORIES= net sysutils
5PKGREVISION= 1 5PKGREVISION= 2
6 6
7MAINTAINER= pkgsrc-users@NetBSD.org 7MAINTAINER= pkgsrc-users@NetBSD.org
8HOMEPAGE= http://sourceforge.net/projects/nagiosplug/ 8HOMEPAGE= http://sourceforge.net/projects/nagiosplug/
9COMMENT= Nagios plugins 9COMMENT= Nagios plugins
10 10
11.include "../../net/nagios-plugins/Makefile.common" 11.include "../../net/nagios-plugins/Makefile.common"
12 12
13.include "../../mk/bsd.prefs.mk" 13.include "../../mk/bsd.prefs.mk"
14 14
15USE_TOOLS+= perl:run 15USE_TOOLS+= perl:run
16 16
17PKG_GROUPS+= NAGIOS_GROUP 17PKG_GROUPS+= ${NAGIOS_GROUP}
18 18
19CONFIGURE_ARGS+= --without-pgsql --without-mysql \ 19CONFIGURE_ARGS+= --without-pgsql --without-mysql \
20 --without-smbclient-command --without-snmpget-command \ 20 --without-smbclient-command --without-snmpget-command \
21 --without-snmpgetnext-command --without-fping-command 21 --without-snmpgetnext-command --without-fping-command
22 22
23SPECIAL_PERMS+= ${PREFIX}/libexec/nagios/check_icmp ${REAL_ROOT_USER} ${NAGIOS_GROUP} 4550 23SPECIAL_PERMS+= ${PREFIX}/libexec/nagios/check_icmp ${REAL_ROOT_USER} ${NAGIOS_GROUP} 4550
24 24
25PLIST_VARS+= linux 25PLIST_VARS+= linux
26.if ${OPSYS} == "Linux" 26.if ${OPSYS} == "Linux"
27PLIST.linux= yes 27PLIST.linux= yes
28.endif 28.endif
29 29
30.if ${OPSYS} == "NetBSD" 30.if ${OPSYS} == "NetBSD"
31CONFIGURE_ARGS+= --with-df-command="/bin/df -Pklt nokernfs,procfs,fdesc" 31CONFIGURE_ARGS+= --with-df-command="/bin/df -Pklt nokernfs,procfs,fdesc"
32.endif 32.endif
33 33
34# required to enable large file support on Solaris 34# required to enable large file support on Solaris
35.if ${OPSYS} == "SunOS" 35.if ${OPSYS} == "SunOS"
36CPPFLAGS_LFS!= getconf LFS_CFLAGS 36CPPFLAGS_LFS!= getconf LFS_CFLAGS
37MAKE_ENV+= CPPFLAGS_LFS=${CPPFLAGS_LFS:Q} 37MAKE_ENV+= CPPFLAGS_LFS=${CPPFLAGS_LFS:Q}
38.endif 38.endif
39LIBS.SunOS+= -lm 39LIBS.SunOS+= -lm
40 40
41.if !exists(/usr/bin/ssh) 41.if !exists(/usr/bin/ssh)
42DEPENDS+= {ssh{,6}-[0-9]*,openssh-[0-9]*}:../../security/openssh 42DEPENDS+= {ssh{,6}-[0-9]*,openssh-[0-9]*}:../../security/openssh
43.endif 43.endif
44 44
45.include "../../security/openssl/buildlink3.mk" 45.include "../../security/openssl/buildlink3.mk"
46.include "../../devel/gettext-lib/buildlink3.mk" 46.include "../../devel/gettext-lib/buildlink3.mk"
47.include "../../mk/bsd.pkg.mk" 47.include "../../mk/bsd.pkg.mk"