ports/144991: [patch] Fix net-snmp dependancy for net/ifstat

Ryan Steinmetz rpsfa at rit.edu
Wed Mar 24 01:20:03 UTC 2010


>Number:         144991
>Category:       ports
>Synopsis:       [patch] Fix net-snmp dependancy for net/ifstat
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 24 01:20:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Ryan Steinmetz
>Release:        7.2-RELEASE
>Organization:
Rochester Institute of Technology
>Environment:
FreeBSD xxx.rit.edu 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #7: Wed Feb  3 18:40:17 EST 2010     root at xxx.rit.edu:/usr/obj/usr/src/sys/xxx  i386
>Description:
net/ifstat (when built WITH_SNMP=YES) has an incorrect LIB_DEPEND of netsnmp.10, when it should be netsnmp.16.
>How-To-Repeat:
cd /usr/ports/net-mgmt/net-snmp && make install
cd /usr/ports/net/ifstat && make WITH_SNMP=yes install

>Fix:


Patch attached with submission follows:

diff -urN /tmp/ifstat/Makefile /usr/ports/net/ifstat/Makefile
--- /tmp/ifstat/Makefile	2010-03-23 21:09:01.000000000 -0400
+++ /usr/ports/net/ifstat/Makefile	2010-03-23 21:09:10.000000000 -0400
@@ -26,7 +26,7 @@
 .include <bsd.port.pre.mk>
 
 .if defined(WITH_SNMP)
-LIB_DEPENDS+=	netsnmp.10:${PORTSDIR}/net-mgmt/net-snmp
+LIB_DEPENDS+=	netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp
 .else
 CONFIGURE_ARGS+=	--without-snmp
 .endif


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list