misc/143831: Fix missing atm -> bsnmp dependency

Garrett Cooper gcooper at FreeBSD.org
Fri Feb 12 03:30:01 UTC 2010


>Number:         143831
>Category:       misc
>Synopsis:       Fix missing atm -> bsnmp dependency
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 12 03:30:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Cooper
>Release:        RELENG_8
>Organization:
Cisco Systems, Inc
>Environment:
FreeBSD garrcoop-fbsd.cisco.com 8.0-STABLE FreeBSD 8.0-STABLE #2: Wed Feb  3 16:57:07 PST 2010     garrcoop at garrcoop-fbsd.cisco.com:/usr/obj/usr/src/sys/LAPPY_X86  i386
>Description:
bsnmp is required by atm as it uses some of bsnmp's headers and the tools used generated OID data. This relationship isn't expressed in bsd.own.mk, and thus build failures occur, as seen in PR # 143830.

The patch attached properly addresses the dependency between atm and bsnmp.
>How-To-Repeat:
make -C sbin/atm WITHOUT_BSNMP=yes depend
>Fix:
Invoke with `WITHOUT_ATM=no WITHOUT_BSNMP=no' or `WITH_ATM=yes WITH_BSNMP=yes'.

Patch attached with submission follows:

Index: bsd.own.mk
===================================================================
--- bsd.own.mk	(revision 203532)
+++ bsd.own.mk	(working copy)
@@ -449,6 +449,10 @@
 MK_BIND_ETC:=	no
 .endif
 
+.if ${MK_BSNMP} == "no"
+MK_ATM:= no
+.endif
+
 .if ${MK_CDDL} == "no"
 MK_ZFS:=	no
 .endif


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


More information about the freebsd-bugs mailing list