Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jul 2011 09:43:53 GMT
From:      Thomas Eberhardt <sneakywumpus@googlemail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/159307: lpd smm chapter unconditionally installed
Message-ID:  <201107300943.p6U9hrb7046019@red.freebsd.org>
Resent-Message-ID: <201107300950.p6U9o7oH002427@freefall.freebsd.org>

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

>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?
 



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