From owner-freebsd-doc@FreeBSD.ORG Sat Jul 30 09:50:07 2011 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA71E106564A for ; Sat, 30 Jul 2011 09:50:07 +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 7A37C8FC12 for ; Sat, 30 Jul 2011 09:50:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p6U9o729002428 for ; Sat, 30 Jul 2011 09:50:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p6U9o7oH002427; Sat, 30 Jul 2011 09:50:07 GMT (envelope-from gnats) Resent-Date: Sat, 30 Jul 2011 09:50:07 GMT Resent-Message-Id: <201107300950.p6U9o7oH002427@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Thomas Eberhardt Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2FB8A1065675 for ; Sat, 30 Jul 2011 09:43:54 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 2062B8FC14 for ; Sat, 30 Jul 2011 09:43:54 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p6U9hrlk046025 for ; Sat, 30 Jul 2011 09:43:53 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p6U9hrb7046019; Sat, 30 Jul 2011 09:43:53 GMT (envelope-from nobody) Message-Id: <201107300943.p6U9hrb7046019@red.freebsd.org> Date: Sat, 30 Jul 2011 09:43:53 GMT From: Thomas Eberhardt To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: docs/159307: lpd smm chapter unconditionally installed X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jul 2011 09:50:07 -0000 >Number: 159307 >Category: docs >Synopsis: lpd smm chapter unconditionally installed >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sat Jul 30 09:50:07 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Thomas Eberhardt >Release: 9.0-BETA1 >Organization: >Environment: FreeBSD clarence.lan 9.0-BETA1 FreeBSD 9.0-BETA1 #0 r224506M: Sat Jul 30 10:51:18 CEST 2011 thomas@clarence.lan:/usr/obj/usr/src/sys/CLARENCE amd64 >Description: /usr/share/doc/smm/07.lpd/paper.ascii.gz is built and installed even when WITHOUT_LPR is set in /etc/src.conf. The file is included in tools/build/mk/OptionalObsoleteFiles.inc. >How-To-Repeat: WITHOUT_LPR=YES in /etc/src.conf make buildworld .. make installworld .. make delete-old >Fix: Patch attached with submission follows: Index: share/doc/smm/Makefile =================================================================== --- share/doc/smm/Makefile (revision 224506) +++ share/doc/smm/Makefile (working copy) @@ -18,12 +18,16 @@ 04.quotas \ 05.fastfs \ 06.nfs \ - 07.lpd \ + ${_07.lpd} \ ${_08.sendmailop} \ 11.timedop \ 12.timed \ 18.net +.if ${MK_LPR} != "no" +_07.lpd= 07.lpd +.endif + .if ${MK_SENDMAIL} != "no" _08.sendmailop= 08.sendmailop .endif >Release-Note: >Audit-Trail: >Unformatted: >>> Removing old files (only deletes safe to delete libs) remove /usr/share/doc/smm/07.lpd/paper.ascii.gz?