diff options
author | abs <abs@pkgsrc.org> | 2010-07-16 22:04:11 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2010-07-16 22:04:11 +0000 |
commit | a9537c7d0fce60e2116434dfafe63de868c2d4a7 (patch) | |
tree | e4040cc3277cb8f383224d194c9744fa41962db7 /sysutils | |
parent | 6ba08770ca2e3c37e1fda9b5cbe3430dd15e973e (diff) | |
download | pkgsrc-a9537c7d0fce60e2116434dfafe63de868c2d4a7.tar.gz |
Fix PLIST under at least Linux, no change intended for other platforms.
Tested under Linux & NetBSD
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/munin-node/Makefile | 16 | ||||
-rw-r--r-- | sysutils/munin-node/PLIST | 10 |
2 files changed, 19 insertions, 7 deletions
diff --git a/sysutils/munin-node/Makefile b/sysutils/munin-node/Makefile index 14870897d29..5e76c857ac8 100644 --- a/sysutils/munin-node/Makefile +++ b/sysutils/munin-node/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2010/07/11 18:17:27 joerg Exp $ +# $NetBSD: Makefile,v 1.16 2010/07/16 22:04:11 abs Exp $ # DISTNAME= munin_${VER} @@ -26,7 +26,19 @@ USE_PKGINSTALL= YES WRKSRC= ${WRKDIR}/${DISTNAME:S:_:-:} -PLIST_VARS+= sunos not-sunos +PLIST_VARS+= sunos not-sunos netbsd not-netbsd linux not-linux + +.if ${OPSYS} == "Linux" +PLIST.linux= yes +.else +PLIST.not-linux= yes +.endif + +.if ${OPSYS} == "NetBSD" +PLIST.netbsd= yes +.else +PLIST.not-netbsd= yes +.endif .if ${OPSYS} == "SunOS" PLIST.sunos= yes diff --git a/sysutils/munin-node/PLIST b/sysutils/munin-node/PLIST index 402d5310d19..e320d04ea22 100644 --- a/sysutils/munin-node/PLIST +++ b/sysutils/munin-node/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.7 2009/08/30 08:19:43 tonnerre Exp $ +@comment $NetBSD: PLIST,v 1.8 2010/07/16 22:04:11 abs Exp $ lib/munin/plugins/acpi lib/munin/plugins/amavis lib/munin/plugins/apache_accesses @@ -31,13 +31,13 @@ lib/munin/plugins/hddtemp2 lib/munin/plugins/hddtemp_smartctl lib/munin/plugins/hddtempd lib/munin/plugins/if_ -lib/munin/plugins/if_errcoll_ +${PLIST.not-linux}lib/munin/plugins/if_errcoll_ ${PLIST.not-sunos}lib/munin/plugins/interrupts ${PLIST.sunos}lib/munin/plugins/io_busy_ ${PLIST.sunos}lib/munin/plugins/io_bytes_ ${PLIST.sunos}lib/munin/plugins/io_ops_ ${PLIST.not-sunos}lib/munin/plugins/iostat -${PLIST.not-sunos}lib/munin/plugins/iostat_ops +${PLIST.netbsd}lib/munin/plugins/iostat_ops lib/munin/plugins/ipac-ng lib/munin/plugins/ircu ${PLIST.not-sunos}lib/munin/plugins/irqstats @@ -47,8 +47,8 @@ lib/munin/plugins/mailman lib/munin/plugins/mailscanner lib/munin/plugins/mbmon_ lib/munin/plugins/memory -${PLIST.not-sunos}lib/munin/plugins/memory_pools -${PLIST.not-sunos}lib/munin/plugins/memory_types +${PLIST.netbsd}lib/munin/plugins/memory_pools +${PLIST.netbsd}lib/munin/plugins/memory_types lib/munin/plugins/mhttping lib/munin/plugins/multips lib/munin/plugins/munin_graph |