Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Aug 2012 13:37:28 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-stable@freebsd.org
Cc:        David Boyd <David.Boyd@insightbb.com>
Subject:   Re: 9.1-RC1 make buildworld with WITHOUT_LPR NO_LPR not cleaning up properly
Message-ID:  <201208241337.28419.jhb@freebsd.org>
In-Reply-To: <OJEBKOFDEOADELCOBJCGEEIMEOAA.David.Boyd@insightbb.com>
References:  <OJEBKOFDEOADELCOBJCGEEIMEOAA.David.Boyd@insightbb.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday, August 24, 2012 12:47:45 pm David Boyd wrote:
> /etc/make.conf contains NO_LPR=YES
> 
> /etc/src.conf contains WITHOUT_LPR=YES
> 
> make buildworld consistently (9.0 through 9.1-RC1) leaves 
> 
> /usr/share/doc/smm/07.lpd/paper.ascii.gz
> 
> which is then deleted by make delete-old.
> 
> This behaviour was not apparent in 8.x.
> 
> I have systems available to test a fix.

Try this:

Index: share/doc/smm/Makefile
===================================================================
--- Makefile	(revision 239655)
+++ Makefile	(working copy)
@@ -18,7 +18,7 @@ SUBDIR=	title \
 	04.quotas \
 	05.fastfs \
 	06.nfs \
-	07.lpd \
+	${_07.lpd} \
 	${_08.sendmailop} \
 	11.timedop \
 	12.timed \
@@ -28,4 +28,8 @@ SUBDIR=	title \
 _08.sendmailop=	08.sendmailop 
 .endif
 
+.if ${MK_LPR} != "no"
+_07.lpd=	07.lpd
+.endif
+
 .include <bsd.subdir.mk>

-- 
John Baldwin



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