From benno@rat-thing.netizen.com.au  Wed Apr 12 21:52:42 2000
Return-Path: <benno@rat-thing.netizen.com.au>
Received: from rat-thing.netizen.com.au (rat-thing.netizen.com.au [203.30.75.120])
	by hub.freebsd.org (Postfix) with ESMTP id 78FA837BAF9
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 12 Apr 2000 21:52:36 -0700 (PDT)
	(envelope-from benno@rat-thing.netizen.com.au)
Received: (from root@localhost)
	by rat-thing.netizen.com.au (8.9.3/8.9.3) id OAA25298;
	Thu, 13 Apr 2000 14:52:34 +1000 (EST)
	(envelope-from benno)
Message-Id: <200004130452.OAA25298@rat-thing.netizen.com.au>
Date: Thu, 13 Apr 2000 14:52:34 +1000 (EST)
From: benno@netizen.com.au
Sender: benno@rat-thing.netizen.com.au
Reply-To: benno@netizen.com.au
To: FreeBSD-gnats-submit@freebsd.org
Subject: etc/Makefile attempts to build whatis databases even if NOMAN
X-Send-Pr-Version: 3.2

>Number:         17967
>Category:       conf
>Synopsis:       etc/Makefile attempts to build whatis databases even if NOMAN is defined
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    asmodai
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 12 22:00:01 PDT 2000
>Closed-Date:    Fri Jul 14 06:49:49 PDT 2000
>Last-Modified:  Fri Jul 14 06:50:48 PDT 2000
>Originator:     Benno Rice
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Netizen Pty Ltd
>Environment:

FreeBSD rat-thing.netizen.com.au 5.0-CURRENT FreeBSD 5.0-CURRENT #11: Wed Mar 15 14:04:47 EST 2000     benno@rat-thing.netizen.com.au:/usr/src/sys/compile/RATTHING  i386

>Description:

The 'distribution' target in etc/Makefile attempts to cd to share/man and
run make makedb even if NOMAN is defined.

>How-To-Repeat:

setenv NOMAN true
cd /usr/src/etc
make distribution

>Fix:

--- Makefile	Thu Apr 13 14:49:14 2000
+++ Makefile.new	Thu Apr 13 14:49:05 2000
@@ -129,7 +129,9 @@
 	(cd ${.CURDIR}/..; \
 	    ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${FREEBSD} \
 		${DESTDIR}/)
+.if !defined(NOMAN)
 	(cd ${.CURDIR}/../share/man; ${MAKE} makedb; )
+.endif
 
 distrib-dirs:
 	mtree -deU -f ${.CURDIR}/mtree/BSD.root.dist -p ${DESTDIR}/

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->suspended 
State-Changed-By: asmodai 
State-Changed-When: Tue Jun 20 22:09:42 PDT 2000 
State-Changed-Why:  
Keep as nagging reminder for MFC. 


Responsible-Changed-From-To: freebsd-bugs->asmodai 
Responsible-Changed-By: asmodai 
Responsible-Changed-When: Tue Jun 20 22:09:42 PDT 2000 
Responsible-Changed-Why:  
I'll MFC this ASAP. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=17967 
State-Changed-From-To: suspended->closed 
State-Changed-By: nbm 
State-Changed-When: Fri Jul 14 06:49:49 PDT 2000 
State-Changed-Why:  
MFC'd in 1.219.2.3 of etc/Makefile 

http://www.freebsd.org/cgi/query-pr.cgi?pr=17967 
>Unformatted:
