From owner-freebsd-bugs@FreeBSD.ORG Fri Feb 12 03:30:01 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC227106568D for ; Fri, 12 Feb 2010 03:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9A4B28FC19 for ; Fri, 12 Feb 2010 03:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o1C3U18b085587 for ; Fri, 12 Feb 2010 03:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o1C3U1Ed085586; Fri, 12 Feb 2010 03:30:01 GMT (envelope-from gnats) Resent-Date: Fri, 12 Feb 2010 03:30:01 GMT Resent-Message-Id: <201002120330.o1C3U1Ed085586@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Garrett Cooper Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 793DA106566C for ; Fri, 12 Feb 2010 03:28:15 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 6967F8FC0A for ; Fri, 12 Feb 2010 03:28:15 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o1C3SFLK019090 for ; Fri, 12 Feb 2010 03:28:15 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o1C3SFtm019082; Fri, 12 Feb 2010 03:28:15 GMT (envelope-from nobody) Message-Id: <201002120328.o1C3SFtm019082@www.freebsd.org> Date: Fri, 12 Feb 2010 03:28:15 GMT From: Garrett Cooper To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/143831: Fix missing atm -> bsnmp dependency X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2010 03:30:01 -0000 >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: