docs/159307: lpd smm chapter unconditionally installed

Thomas Eberhardt sneakywumpus at googlemail.com
Sat Jul 30 09:50:07 UTC 2011


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



More information about the freebsd-doc mailing list