Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Feb 2010 03:28:15 GMT
From:      Garrett Cooper <gcooper@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/143831: Fix missing atm -> bsnmp dependency
Message-ID:  <201002120328.o1C3SFtm019082@www.freebsd.org>
Resent-Message-ID: <201002120330.o1C3U1Ed085586@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002120328.o1C3SFtm019082>