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
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 12 03:30:01 UTC 2010
>Originator:     Garrett Cooper
>Release:        RELENG_8
Cisco Systems, Inc
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
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.
make -C sbin/atm WITHOUT_BSNMP=yes depend
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 @@
+.if ${MK_BSNMP} == "no"
+MK_ATM:= no
 .if ${MK_CDDL} == "no"
 MK_ZFS:=	no


More information about the freebsd-bugs mailing list