diff options
author | tron <tron@pkgsrc.org> | 2002-05-25 08:04:51 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2002-05-25 08:04:51 +0000 |
commit | 92571cd9db37b322cadb17c76ff8b44f456df3fa (patch) | |
tree | baae908f72b3acde5a8bb9ca79dd4deb11e6a24c /net/ucd-snmp | |
parent | 0eea0d5be359d3dcb959c58190a3a5b312e336d2 (diff) | |
download | pkgsrc-92571cd9db37b322cadb17c76ff8b44f456df3fa.tar.gz |
Enable memory and VM statistic under NetBSD. This fixes PR pkg/14438
by Scott Presnell.
Diffstat (limited to 'net/ucd-snmp')
-rw-r--r-- | net/ucd-snmp/Makefile | 13 | ||||
-rw-r--r-- | net/ucd-snmp/distinfo | 3 | ||||
-rw-r--r-- | net/ucd-snmp/patches/patch-ac | 17 |
3 files changed, 28 insertions, 5 deletions
diff --git a/net/ucd-snmp/Makefile b/net/ucd-snmp/Makefile index ab0bc2a6c39..f09dba2766a 100644 --- a/net/ucd-snmp/Makefile +++ b/net/ucd-snmp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.43 2002/05/25 06:39:10 tron Exp $ +# $NetBSD: Makefile,v 1.44 2002/05/25 08:04:51 tron Exp $ DISTNAME= ucd-snmp-4.2.4 CATEGORIES= net @@ -54,12 +54,17 @@ post-extract: @${LN} ${WRKSRC}/s/netbsd.h ${WRKSRC}/s/netbsdelf.h pre-configure: -.if (${OPSYS} == NetBSD && \ - ${LOWER_ARCH} == i386 && \ - ${OS_VERSION:M1.5.[123]*} != "") +.if (${OPSYS} == NetBSD) + if [ -f /usr/include/uvm/uvm_param.h ]; then \ + cd ${BUILDLINK_DIR}/include; \ + ${MKDIR} vm; \ + ${LN} -s /usr/include/uvm/uvm_param.h vm/vm_param.h; \ + fi +.if (${LOWER_ARCH} == i386 && ${OS_VERSION:M1.5.[123]*} != "") ${MKDIR} ${BUILDLINK_DIR}/include/sys ${LN} -s ${FILESDIR}/disklabel.h ${BUILDLINK_DIR}/include/sys .endif +.endif (cd ${WRKSRC} && ${LOCALBASE}/bin/autoreconf) .if ${OPSYS} == SunOS # Adapt for the fact that the default I've seen of ac_max_sed_cmds=90 diff --git a/net/ucd-snmp/distinfo b/net/ucd-snmp/distinfo index 9bb3fb2b51d..fa83d5f5f61 100644 --- a/net/ucd-snmp/distinfo +++ b/net/ucd-snmp/distinfo @@ -1,9 +1,10 @@ -$NetBSD: distinfo,v 1.5 2002/04/09 09:53:54 itojun Exp $ +$NetBSD: distinfo,v 1.6 2002/05/25 08:04:51 tron Exp $ SHA1 (ucd-snmp-4.2.4.tar.gz) = b1dbf7c5f6971f1f4419d50630a4b34b82ddc57b Size (ucd-snmp-4.2.4.tar.gz) = 1706471 bytes SHA1 (patch-aa) = 2cef916f05a3052e371f0ae19048ea0680834c78 SHA1 (patch-ab) = a4bd7337b6c57791d5d0ab936d0fac6c2b1bd497 +SHA1 (patch-ac) = 62464c314e6e896810901d89ff8f0bf8ea86e16a SHA1 (patch-ad) = c84a3eb4b28d83f7cc731b1174be74e56c08a00a SHA1 (patch-af) = 61b69b70ffeecd715b7691f5d78862d7c216754b SHA1 (patch-ag) = 8234307641a3a276f32ea2d2516268a31c1c5e97 diff --git a/net/ucd-snmp/patches/patch-ac b/net/ucd-snmp/patches/patch-ac new file mode 100644 index 00000000000..8720fead9ee --- /dev/null +++ b/net/ucd-snmp/patches/patch-ac @@ -0,0 +1,17 @@ +$NetBSD: patch-ac,v 1.7 2002/05/25 08:04:52 tron Exp $ + +--- agent/mibgroup/ucd_snmp.h.orig Thu Feb 7 16:39:26 2002 ++++ agent/mibgroup/ucd_snmp.h Sat May 25 08:36:34 2002 +@@ -32,8 +32,10 @@ + config_arch_require(freebsd4, ucd-snmp/memory_freebsd2) + config_arch_require(freebsd5, ucd-snmp/vmstat_freebsd2) + config_arch_require(freebsd5, ucd-snmp/memory_freebsd2) +-config_arch_require(netbsd1, ucd-snmp/vmstat_netbsd1) +-config_arch_require(netbsd1, ucd-snmp/memory_netbsd1) ++config_arch_require(netbsd, ucd-snmp/vmstat_netbsd1) ++config_arch_require(netbsd, ucd-snmp/memory_netbsd1) ++config_arch_require(netbsdelf, ucd-snmp/vmstat_netbsd1) ++config_arch_require(netbsdelf, ucd-snmp/memory_netbsd1) + config_arch_require(openbsd2, ucd-snmp/vmstat_netbsd1) + config_arch_require(openbsd2, ucd-snmp/memory_netbsd1) + config_arch_require(bsdi4, ucd-snmp/vmstat_bsdi4) |