From owner-freebsd-bugs@FreeBSD.ORG Sun Feb 10 08:10:02 2008 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 B756016A4F1 for ; Sun, 10 Feb 2008 08:10:02 +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 8FD9213C4CC for ; Sun, 10 Feb 2008 08:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1A8A2Kp081425 for ; Sun, 10 Feb 2008 08:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1A8A2oQ081424; Sun, 10 Feb 2008 08:10:02 GMT (envelope-from gnats) Resent-Date: Sun, 10 Feb 2008 08:10:02 GMT Resent-Message-Id: <200802100810.m1A8A2oQ081424@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, KAMIYA Satosi Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6729316A418 for ; Sun, 10 Feb 2008 08:05:23 +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 4EB4113C4E7 for ; Sun, 10 Feb 2008 08:05:23 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m1A83CgS067550 for ; Sun, 10 Feb 2008 08:03:12 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m1A83CGS067549; Sun, 10 Feb 2008 08:03:12 GMT (envelope-from nobody) Message-Id: <200802100803.m1A83CGS067549@www.freebsd.org> Date: Sun, 10 Feb 2008 08:03:12 GMT From: KAMIYA Satosi To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: bin/120492: [patch] OptionalObsoleteFiles.inc - Add files to remove when WITHOUT_IPX and WITHOUT_GCOV are defined 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: Sun, 10 Feb 2008 08:10:02 -0000 >Number: 120492 >Category: bin >Synopsis: [patch] OptionalObsoleteFiles.inc - Add files to remove when WITHOUT_IPX and WITHOUT_GCOV are defined >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Feb 10 08:10:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: KAMIYA Satosi >Release: 7.0-RC2 >Organization: >Environment: FreeBSD svn01.un.cosat.com 7.0-RC2 FreeBSD 7.0-RC2 #2: Sun Feb 10 09:32:55 JST 2008 h@svn01.un.cosat.com:/usr/obj/usr/src/sys/COSATSVN01 i386 >Description: 'cd /usr/src; make delete-old' should delete files specified files when WITHOUT_IPX and WITHOUT_GCOV are defined >How-To-Repeat: write 2 lines in /etc/src.conf: WITHOUT_IPX= WITHOUT_GCOV= then, do 'cd /usr/src; make delete-old' >Fix: % diff -u /usr/src/tools/build/mk/OptionalObsoleteFiles.inc{.orig,} --- /usr/src/tools/build/mk/OptionalObsoleteFiles.inc.orig 2008-02-10 16:53:30.000000000 +0900 +++ /usr/src/tools/build/mk/OptionalObsoleteFiles.inc 2008-02-10 16:55:03.000000000 +0900 @@ -385,9 +385,9 @@ # to be filled in #.endif -#.if ${MK_GCOV} == no -# to be filled in -#.endif +.if ${MK_GCOV} == no +OLD_FILES+=usr/bin/gcov +.endif #.if ${MK_GDB} == no # to be filled in @@ -578,9 +578,13 @@ OLD_FILES+=usr/share/man/man8/ippool.8.gz .endif -#.if ${MK_IPX} == no -# to be filled in -#.endif +.if ${MK_IPX} == no +OLD_FILES+=usr/bin/ncplist +OLD_FILES+=usr/bin/ncplogin +OLD_FILES+=usr/bin/ncplogout +OLD_FILES+=usr/sbin/mount_nwfs +OLD_FILES+=usr/sbin/IPXrouted +.endif .if ${MK_KERBEROS} == no OLD_FILES+=usr/bin/ksu >Release-Note: >Audit-Trail: >Unformatted: